#CAC32D#CAC32D

#CAC32D is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.8% C 0.159 H 106.7°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#CAC32D
RGBrgb(202, 195, 45)
HSLhsl(57, 64%, 48%)
HSVhsv(57, 78%, 79%)
CMYKcmyk(0%, 3.5%, 77.7%, 20.8%)
CIE-LABlab(77.15, -13.69, 69.94)
CIE-LCHlch(77.15, 71.27, 101.08°)
OKLaboklab(79.83% -0.0456 0.1522)
OKLCHoklch(79.83% 0.159 106.7)
XYZxyz(44.3477, 51.7779, 10.1402)
Luminance0.5178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC32D #2D34CA
analogous
#CA742D #CAC32D #82CA2D
triadic
#CAC32D #2DCAC3 #C32DCA
tetradic
#CAC32D #2DCA74 #2D34CA #CA2D82
square
#CAC32D #2DCA74 #2D34CA #CA2D82
split-complementary
#CAC32D #2D82CA #742DCA
monochromatic
#666217 #989322 #CAC32D #DAD55A #E5E18C

Accessibility & contrast

On white

1.85
#CAC32D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#CAC32D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC32D
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC32D#FFFFFF#000000##000000
##CAC32D1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D7C13A
Tritanopia (blue-blind)
#D9B6A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac32d;
/* rgb */ color: rgb(202, 195, 45);
/* oklch */ color: oklch(79.8% 0.159 106.7);
Tailwind
colors: {
  custom: {
    50: '#ded473',
    500: '#cac32d',
    950: '#000000',
  },
}
SCSS
$custom: #cac32d;
$custom-light: #ded473;
$custom-dark: #000000;
JSON
{
  "hex": "#cac32d",
  "rgb": {
    "r": 202,
    "g": 195,
    "b": 45
  },
  "hsl": {
    "h": 57.325,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79831,
    "c": 0.15884,
    "h": 106.7
  },
  "luminance": 0.51776
}

Semantic roles & 50–950 ramp

primary
#CAC32D
secondary
#2B2E70
accent
#49E741
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC32D

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

Preview Lab → · Contrast checker → · Palette generator →

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