#CAC437#CAC437

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

Color values

HEX#CAC437
RGBrgb(202, 196, 55)
HSLhsl(58, 58%, 50%)
HSVhsv(58, 73%, 79%)
CMYKcmyk(0%, 3%, 72.8%, 20.8%)
CIE-LABlab(77.47, -13.79, 67.02)
CIE-LCHlch(77.47, 68.43, 101.63°)
OKLaboklab(80.1% -0.045 0.1478)
OKLCHoklch(80.1% 0.154 106.9)
XYZxyz(44.7884, 52.3138, 11.3520)
Luminance0.5231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC437 #373DCA
analogous
#CA7A37 #CAC437 #86CA37
triadic
#CAC437 #37CAC4 #C437CA
tetradic
#CAC437 #37CA7A #373DCA #CA3786
square
#CAC437 #37CA7A #373DCA #CA3786
split-complementary
#CAC437 #3786CA #7A37CA
monochromatic
#6A671C #9B9629 #CAC437 #D7D267 #E4E198

Accessibility & contrast

On white

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

On black

11.46
#CAC437 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC437
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC437#FFFFFF#000000##000000
##CAC4371.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac437;
/* rgb */ color: rgb(202, 196, 55);
/* oklch */ color: oklch(80.1% 0.154 106.9);
Tailwind
colors: {
  custom: {
    50: '#ded578',
    500: '#cac437',
    950: '#000000',
  },
}
SCSS
$custom: #cac437;
$custom-light: #ded578;
$custom-dark: #000000;
JSON
{
  "hex": "#cac437",
  "rgb": {
    "r": 202,
    "g": 196,
    "b": 55
  },
  "hsl": {
    "h": 57.551,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.80103,
    "c": 0.15446,
    "h": 106.9
  },
  "luminance": 0.52312
}

Semantic roles & 50–950 ramp

primary
#CAC437
secondary
#313474
accent
#4DE146
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC437

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

Preview Lab → · Contrast checker → · Palette generator →

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