#CAC24C#CAC24C

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

Color values

HEX#CAC24C
RGBrgb(202, 194, 76)
HSLhsl(56, 54%, 55%)
HSVhsv(56, 62%, 79%)
CMYKcmyk(0%, 4%, 62.4%, 20.8%)
CIE-LABlab(77.08, -11.64, 58.49)
CIE-LCHlch(77.08, 59.64, 101.25°)
OKLaboklab(79.84% -0.0367 0.1332)
OKLCHoklch(79.84% 0.138 105.4)
XYZxyz(44.9550, 51.6635, 14.4401)
Luminance0.5166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC24C #4C54CA
analogous
#CA834C #CAC24C #93CA4C
triadic
#CAC24C #4CCAC2 #C24CCA
tetradic
#CAC24C #4CCA83 #4C54CA #CA4C93
square
#CAC24C #4CCA83 #4C54CA #CA4C93
split-complementary
#CAC24C #4C93CA #834CCA
monochromatic
#787324 #A7A032 #CAC24C #D8D27B #E6E2AA

Accessibility & contrast

On white

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

On black

11.33
#CAC24C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC24C
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC24C#FFFFFF#000000##000000
##CAC24C1.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac24c;
/* rgb */ color: rgb(202, 194, 76);
/* oklch */ color: oklch(79.8% 0.138 105.4);
Tailwind
colors: {
  custom: {
    50: '#ddd483',
    500: '#cac24c',
    950: '#000000',
  },
}
SCSS
$custom: #cac24c;
$custom-light: #ddd483;
$custom-dark: #000000;
JSON
{
  "hex": "#cac24c",
  "rgb": {
    "r": 202,
    "g": 194,
    "b": 76
  },
  "hsl": {
    "h": 56.19,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.7984,
    "c": 0.13817,
    "h": 105.4
  },
  "luminance": 0.51662
}

Semantic roles & 50–950 ramp

primary
#CAC24C
secondary
#3A3E80
accent
#53DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC24C

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

Preview Lab → · Contrast checker → · Palette generator →

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