#CAC04D#CAC04D

#CAC04D is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.4% C 0.135 H 104.3°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#CAC04D
RGBrgb(202, 192, 77)
HSLhsl(55, 54%, 55%)
HSVhsv(55, 62%, 79%)
CMYKcmyk(0%, 5%, 61.9%, 20.8%)
CIE-LABlab(76.55, -10.55, 57.50)
CIE-LCHlch(76.55, 58.46, 100.40°)
OKLaboklab(79.42% -0.0336 0.1312)
OKLCHoklch(79.42% 0.135 104.3)
XYZxyz(44.5479, 50.7933, 14.4772)
Luminance0.5079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC04D #4D57CA
analogous
#CA824D #CAC04D #96CA4D
triadic
#CAC04D #4DCAC0 #C04DCA
tetradic
#CAC04D #4DCA82 #4D57CA #CA4D96
square
#CAC04D #4DCA82 #4D57CA #CA4D96
split-complementary
#CAC04D #4D96CA #824DCA
monochromatic
#797224 #A89E32 #CAC04D #D8D17C #E6E1AB

Accessibility & contrast

On white

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

On black

11.16
#CAC04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC04D
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC04D#FFFFFF#000000##000000
##CAC04D1.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA3F
Deuteranopia (green-blind)
#D3BF53
Tritanopia (blue-blind)
#D8B4A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac04d;
/* rgb */ color: rgb(202, 192, 77);
/* oklch */ color: oklch(79.4% 0.135 104.3);
Tailwind
colors: {
  custom: {
    50: '#ddd284',
    500: '#cac04d',
    950: '#000000',
  },
}
SCSS
$custom: #cac04d;
$custom-light: #ddd284;
$custom-dark: #000000;
JSON
{
  "hex": "#cac04d",
  "rgb": {
    "r": 202,
    "g": 192,
    "b": 77
  },
  "hsl": {
    "h": 55.2,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79424,
    "c": 0.13544,
    "h": 104.3
  },
  "luminance": 0.50792
}

Semantic roles & 50–950 ramp

primary
#CAC04D
secondary
#3A4081
accent
#56DD4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC04D

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

Preview Lab → · Contrast checker → · Palette generator →

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