#CAC24A#CAC24A

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

Color values

HEX#CAC24A
RGBrgb(202, 194, 74)
HSLhsl(56, 55%, 54%)
HSVhsv(56, 63%, 79%)
CMYKcmyk(0%, 4%, 63.4%, 20.8%)
CIE-LABlab(77.06, -11.76, 59.32)
CIE-LCHlch(77.06, 60.47, 101.22°)
OKLaboklab(79.82% -0.0373 0.1347)
OKLCHoklch(79.82% 0.14 105.5)
XYZxyz(44.8866, 51.6361, 14.0796)
Luminance0.5163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC24A #4A52CA
analogous
#CA824A #CAC24A #92CA4A
triadic
#CAC24A #4ACAC2 #C24ACA
tetradic
#CAC24A #4ACA82 #4A52CA #CA4A92
square
#CAC24A #4ACA82 #4A52CA #CA4A92
split-complementary
#CAC24A #4A92CA #824ACA
monochromatic
#777223 #A69F31 #CAC24A #D8D279 #E6E2A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC24A#FFFFFF#000000##000000
##CAC24A1.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)
#D2BB3B
Deuteranopia (green-blind)
#D5C151
Tritanopia (blue-blind)
#D8B6A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac24a;
/* rgb */ color: rgb(202, 194, 74);
/* oklch */ color: oklch(79.8% 0.140 105.5);
Tailwind
colors: {
  custom: {
    50: '#ddd482',
    500: '#cac24a',
    950: '#000000',
  },
}
SCSS
$custom: #cac24a;
$custom-light: #ddd482;
$custom-dark: #000000;
JSON
{
  "hex": "#cac24a",
  "rgb": {
    "r": 202,
    "g": 194,
    "b": 74
  },
  "hsl": {
    "h": 56.25,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.79822,
    "c": 0.13973,
    "h": 105.5
  },
  "luminance": 0.51635
}

Semantic roles & 50–950 ramp

primary
#CAC24A
secondary
#393D7F
accent
#53DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC24A

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

Preview Lab → · Contrast checker → · Palette generator →

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