#CAC32B#CAC32B

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

Color values

HEX#CAC32B
RGBrgb(202, 195, 43)
HSLhsl(57, 65%, 48%)
HSVhsv(57, 79%, 79%)
CMYKcmyk(0%, 3.5%, 78.7%, 20.8%)
CIE-LABlab(77.14, -13.76, 70.52)
CIE-LCHlch(77.14, 71.85, 101.04°)
OKLaboklab(79.82% -0.046 0.153)
OKLCHoklch(79.82% 0.16 106.7)
XYZxyz(44.3101, 51.7628, 9.9422)
Luminance0.5176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC32B #2B32CA
analogous
#CA732B #CAC32B #82CA2B
triadic
#CAC32B #2BCAC3 #C32BCA
tetradic
#CAC32B #2BCA73 #2B32CA #CA2B82
square
#CAC32B #2BCA73 #2B32CA #CA2B82
split-complementary
#CAC32B #2B82CA #732BCA
monochromatic
#656216 #989220 #CAC32B #DBD557 #E6E289

Accessibility & contrast

On white

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

On black

11.35
#CAC32B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC32B
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC32B#FFFFFF#000000##000000
##CAC32B1.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac32b;
/* rgb */ color: rgb(202, 195, 43);
/* oklch */ color: oklch(79.8% 0.160 106.7);
Tailwind
colors: {
  custom: {
    50: '#ded472',
    500: '#cac32b',
    950: '#000000',
  },
}
SCSS
$custom: #cac32b;
$custom-light: #ded472;
$custom-dark: #000000;
JSON
{
  "hex": "#cac32b",
  "rgb": {
    "r": 202,
    "g": 195,
    "b": 43
  },
  "hsl": {
    "h": 57.358,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.79821,
    "c": 0.15977,
    "h": 106.7
  },
  "luminance": 0.51761
}

Semantic roles & 50–950 ramp

primary
#CAC32B
secondary
#2A2D6F
accent
#47E840
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC32B

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

Preview Lab → · Contrast checker → · Palette generator →

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