#CACC4A#CACC4A

#CACC4A is a light, vivid yellow. Relative luminance 0.562; OKLCH L 82.0% C 0.150 H 110.1°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#CACC4A
RGBrgb(202, 204, 74)
HSLhsl(61, 56%, 55%)
HSVhsv(61, 64%, 80%)
CMYKcmyk(1%, 0%, 63.7%, 20%)
CIE-LABlab(79.75, -16.80, 62.14)
CIE-LCHlch(79.75, 64.37, 105.13°)
OKLaboklab(81.96% -0.0516 0.1406)
OKLCHoklch(81.96% 0.15 110.1)
XYZxyz(47.1875, 56.2379, 14.8465)
Luminance0.5624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC4A #4C4ACC
analogous
#CC8D4A #CACC4A #89CC4A
triadic
#CACC4A #4ACACC #CC4ACA
tetradic
#CACC4A #4ACC8D #4C4ACC #CC4A89
square
#CACC4A #4ACC8D #4C4ACC #CC4A89
split-complementary
#CACC4A #4A89CC #8D4ACC
monochromatic
#787922 #A7A930 #CACC4A #D8D97A #E6E7A9

Accessibility & contrast

On white

1.71
#CACC4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#CACC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACC4A
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACC4A#FFFFFF#000000##000000
##CACC4A1.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC439
Deuteranopia (green-blind)
#DDC852
Tritanopia (blue-blind)
#D7C0B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cacc4a;
/* rgb */ color: rgb(202, 204, 74);
/* oklch */ color: oklch(82.0% 0.150 110.1);
Tailwind
colors: {
  custom: {
    50: '#dddb83',
    500: '#cacc4a',
    950: '#000000',
  },
}
SCSS
$custom: #cacc4a;
$custom-light: #dddb83;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc4a",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 74
  },
  "hsl": {
    "h": 60.923,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81963,
    "c": 0.14978,
    "h": 110.1
  },
  "luminance": 0.56237
}

Semantic roles & 50–950 ramp

primary
#CACC4A
secondary
#3A3982
accent
#48DF4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CACC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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