#CAC047#CAC047

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

Color values

HEX#CAC047
RGBrgb(202, 192, 71)
HSLhsl(55, 55%, 54%)
HSVhsv(55, 65%, 79%)
CMYKcmyk(0%, 5%, 64.9%, 20.8%)
CIE-LABlab(76.50, -10.93, 59.98)
CIE-LCHlch(76.50, 60.96, 100.32°)
OKLaboklab(79.37% -0.0353 0.1356)
OKLCHoklch(79.37% 0.14 104.6)
XYZxyz(44.3458, 50.7124, 13.4126)
Luminance0.5071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC047 #4751CA
analogous
#CA7E47 #CAC047 #92CA47
triadic
#CAC047 #47CAC0 #C047CA
tetradic
#CAC047 #47CA7E #4751CA #CA4792
square
#CAC047 #47CA7E #4751CA #CA4792
split-complementary
#CAC047 #4792CA #7E47CA
monochromatic
#756F22 #A49B2F #CAC047 #D8D077 #E5E1A6

Accessibility & contrast

On white

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

On black

11.14
#CAC047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC047
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC047#FFFFFF#000000##000000
##CAC0471.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac047;
/* rgb */ color: rgb(202, 192, 71);
/* oklch */ color: oklch(79.4% 0.140 104.6);
Tailwind
colors: {
  custom: {
    50: '#ddd280',
    500: '#cac047',
    950: '#000000',
  },
}
SCSS
$custom: #cac047;
$custom-light: #ddd280;
$custom-dark: #000000;
JSON
{
  "hex": "#cac047",
  "rgb": {
    "r": 202,
    "g": 192,
    "b": 71
  },
  "hsl": {
    "h": 55.42,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.7937,
    "c": 0.14011,
    "h": 104.6
  },
  "luminance": 0.50711
}

Semantic roles & 50–950 ramp

primary
#CAC047
secondary
#383D7E
accent
#55DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC047

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

Preview Lab → · Contrast checker → · Palette generator →

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