#CAC04A#CAC04A

#CAC04A is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.4% C 0.138 H 104.5°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#CAC04A
RGBrgb(202, 192, 74)
HSLhsl(55, 55%, 54%)
HSVhsv(55, 63%, 79%)
CMYKcmyk(0%, 5%, 63.4%, 20.8%)
CIE-LABlab(76.53, -10.74, 58.75)
CIE-LCHlch(76.53, 59.72, 100.36°)
OKLaboklab(79.4% -0.0344 0.1335)
OKLCHoklch(79.4% 0.138 104.5)
XYZxyz(44.4444, 50.7519, 13.9322)
Luminance0.5075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC04A #4A54CA
analogous
#CA804A #CAC04A #94CA4A
triadic
#CAC04A #4ACAC0 #C04ACA
tetradic
#CAC04A #4ACA80 #4A54CA #CA4A94
square
#CAC04A #4ACA80 #4A54CA #CA4A94
split-complementary
#CAC04A #4A94CA #804ACA
monochromatic
#777023 #A69D31 #CAC04A #D8D079 #E6E1A9

Accessibility & contrast

On white

1.88
#CAC04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#CAC04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC04A
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC04A#FFFFFF#000000##000000
##CAC04A1.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA3B
Deuteranopia (green-blind)
#D4BF51
Tritanopia (blue-blind)
#D8B4A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac04a;
/* rgb */ color: rgb(202, 192, 74);
/* oklch */ color: oklch(79.4% 0.138 104.5);
Tailwind
colors: {
  custom: {
    50: '#ddd282',
    500: '#cac04a',
    950: '#000000',
  },
}
SCSS
$custom: #cac04a;
$custom-light: #ddd282;
$custom-dark: #000000;
JSON
{
  "hex": "#cac04a",
  "rgb": {
    "r": 202,
    "g": 192,
    "b": 74
  },
  "hsl": {
    "h": 55.313,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.79396,
    "c": 0.13782,
    "h": 104.5
  },
  "luminance": 0.5075
}

Semantic roles & 50–950 ramp

primary
#CAC04A
secondary
#393E7F
accent
#55DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC04A

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

Preview Lab → · Contrast checker → · Palette generator →

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