#CAC24D#CAC24D

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

Color values

HEX#CAC24D
RGBrgb(202, 194, 77)
HSLhsl(56, 54%, 55%)
HSVhsv(56, 62%, 79%)
CMYKcmyk(0%, 4%, 61.9%, 20.8%)
CIE-LABlab(77.09, -11.57, 58.07)
CIE-LCHlch(77.09, 59.21, 101.27°)
OKLaboklab(79.85% -0.0365 0.1324)
OKLCHoklch(79.85% 0.137 105.4)
XYZxyz(44.9900, 51.6775, 14.6246)
Luminance0.5168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC24D #4D55CA
analogous
#CA844D #CAC24D #94CA4D
triadic
#CAC24D #4DCAC2 #C24DCA
tetradic
#CAC24D #4DCA84 #4D55CA #CA4D94
square
#CAC24D #4DCA84 #4D55CA #CA4D94
split-complementary
#CAC24D #4D94CA #844DCA
monochromatic
#797324 #A8A032 #CAC24D #D8D27C #E6E2AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC24D#FFFFFF#000000##000000
##CAC24D1.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)
#D2BB3F
Deuteranopia (green-blind)
#D5C154
Tritanopia (blue-blind)
#D8B6A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac24d;
/* rgb */ color: rgb(202, 194, 77);
/* oklch */ color: oklch(79.8% 0.137 105.4);
Tailwind
colors: {
  custom: {
    50: '#ddd484',
    500: '#cac24d',
    950: '#000000',
  },
}
SCSS
$custom: #cac24d;
$custom-light: #ddd484;
$custom-dark: #000000;
JSON
{
  "hex": "#cac24d",
  "rgb": {
    "r": 202,
    "g": 194,
    "b": 77
  },
  "hsl": {
    "h": 56.16,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79849,
    "c": 0.13737,
    "h": 105.4
  },
  "luminance": 0.51676
}

Semantic roles & 50–950 ramp

primary
#CAC24D
secondary
#3A3F81
accent
#54DD4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC24D

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

Preview Lab → · Contrast checker → · Palette generator →

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