#CAC439#CAC439

#CAC439 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.1% C 0.153 H 106.9°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#CAC439
RGBrgb(202, 196, 57)
HSLhsl(58, 58%, 51%)
HSVhsv(58, 72%, 79%)
CMYKcmyk(0%, 3%, 71.8%, 20.8%)
CIE-LABlab(77.48, -13.70, 66.33)
CIE-LCHlch(77.48, 67.73, 101.67°)
OKLaboklab(80.12% -0.0446 0.1467)
OKLCHoklch(80.12% 0.153 106.9)
XYZxyz(44.8373, 52.3334, 11.6096)
Luminance0.5233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC439 #393FCA
analogous
#CA7B39 #CAC439 #87CA39
triadic
#CAC439 #39CAC4 #C439CA
tetradic
#CAC439 #39CA7B #393FCA #CA3987
square
#CAC439 #39CA7B #393FCA #CA3987
split-complementary
#CAC439 #3987CA #7B39CA
monochromatic
#6C681D #9C972A #CAC439 #D7D269 #E4E19A

Accessibility & contrast

On white

1.83
#CAC439 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#CAC439 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC439
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC439#FFFFFF#000000##000000
##CAC4391.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC20
Deuteranopia (green-blind)
#D7C243
Tritanopia (blue-blind)
#D9B7A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cac439;
/* rgb */ color: rgb(202, 196, 57);
/* oklch */ color: oklch(80.1% 0.153 106.9);
Tailwind
colors: {
  custom: {
    50: '#ded579',
    500: '#cac439',
    950: '#000000',
  },
}
SCSS
$custom: #cac439;
$custom-light: #ded579;
$custom-dark: #000000;
JSON
{
  "hex": "#cac439",
  "rgb": {
    "r": 202,
    "g": 196,
    "b": 57
  },
  "hsl": {
    "h": 57.517,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.80116,
    "c": 0.15328,
    "h": 106.9
  },
  "luminance": 0.52332
}

Semantic roles & 50–950 ramp

primary
#CAC439
secondary
#323575
accent
#4DE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC439

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

Preview Lab → · Contrast checker → · Palette generator →

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