#CAC24E#CAC24E

#CAC24E is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.9% C 0.137 H 105.4°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#CAC24E
RGBrgb(202, 194, 78)
HSLhsl(56, 54%, 55%)
HSVhsv(56, 61%, 79%)
CMYKcmyk(0%, 4%, 61.4%, 20.8%)
CIE-LABlab(77.10, -11.50, 57.65)
CIE-LCHlch(77.10, 58.79, 101.29°)
OKLaboklab(79.86% -0.0362 0.1317)
OKLCHoklch(79.86% 0.137 105.4)
XYZxyz(45.0256, 51.6917, 14.8120)
Luminance0.5169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC24E #4E56CA
analogous
#CA844E #CAC24E #94CA4E
triadic
#CAC24E #4ECAC2 #C24ECA
tetradic
#CAC24E #4ECA84 #4E56CA #CA4E94
square
#CAC24E #4ECA84 #4E56CA #CA4E94
split-complementary
#CAC24E #4E94CA #844ECA
monochromatic
#797424 #A8A132 #CAC24E #D8D27D #E6E2AC

Accessibility & contrast

On white

1.85
#CAC24E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#CAC24E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC24E
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC24E#FFFFFF#000000##000000
##CAC24E1.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB40
Deuteranopia (green-blind)
#D5C155
Tritanopia (blue-blind)
#D8B6A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac24e;
/* rgb */ color: rgb(202, 194, 78);
/* oklch */ color: oklch(79.9% 0.137 105.4);
Tailwind
colors: {
  custom: {
    50: '#ddd484',
    500: '#cac24e',
    950: '#000000',
  },
}
SCSS
$custom: #cac24e;
$custom-light: #ddd484;
$custom-dark: #000000;
JSON
{
  "hex": "#cac24e",
  "rgb": {
    "r": 202,
    "g": 194,
    "b": 78
  },
  "hsl": {
    "h": 56.129,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79859,
    "c": 0.13656,
    "h": 105.4
  },
  "luminance": 0.5169
}

Semantic roles & 50–950 ramp

primary
#CAC24E
secondary
#3B3F82
accent
#54DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC24E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CAC24E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva