#C7CA21

A color in the Yellow, Gold family

#c7ca21 is a color in the Yellow, Gold family: RGB(199, 202, 33), HSL(61°, 72%, 46%), CMYK(1%, 0%, 84%, 21%). Closest named color: yellowgreen. Contrast is 1.76:1 on white and 11.9:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#c7ca21
RGBrgb(199 202 33)
RGB (legacy)rgb(199, 202, 33)
RGB %rgb(78% 79% 13%)
HSLhsl(61 72% 46%)
HSV / HSBhsv(61, 84%, 79%)
HWBhwb(61 13% 21%)
CMYKcmyk(1%, 0%, 84%, 21%)
CIELAB (D50)lab(79.12 -14.11 73.62)
LCHlch(79.12 74.96 100.85)
OKLaboklab(0.8104 -0.0606 0.1597)
OKLCHoklch(0.8104 0.1709 110.78)
Decimal13093409

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 5.7
Closest web-safe color#cccc33
Hue61°
Saturation (HSL / HSV)72% / 84%
Lightness (HSL)46%
Brightness or Value (HSV)79%
Luminance (Rec.601 / Rec.709)71% / 74%
Relative luminance (WCAG)0.5449
Red / Green / Blue199 / 202 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.76:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
11.90:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 32.2 / -70.5 · As background with white / black text: Lc -36.2 / 71.6

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #c7ca21;
  --color-brand-oklch: oklch(81.04% 0.1709 110.78);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(199 202 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c7ca21] text-[#c7ca21] border-[#c7ca21]">