#CAC32E#CAC32E

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

Color values

HEX#CAC32E
RGBrgb(202, 195, 46)
HSLhsl(57, 63%, 49%)
HSVhsv(57, 77%, 79%)
CMYKcmyk(0%, 3.5%, 77.2%, 20.8%)
CIE-LABlab(77.15, -13.66, 69.65)
CIE-LCHlch(77.15, 70.97, 101.09°)
OKLaboklab(79.84% -0.0454 0.1517)
OKLCHoklch(79.84% 0.158 106.7)
XYZxyz(44.3672, 51.7857, 10.2428)
Luminance0.5178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC32E #2E35CA
analogous
#CA752E #CAC32E #83CA2E
triadic
#CAC32E #2ECAC3 #C32ECA
tetradic
#CAC32E #2ECA75 #2E35CA #CA2E83
square
#CAC32E #2ECA75 #2E35CA #CA2E83
split-complementary
#CAC32E #2E83CA #752ECA
monochromatic
#666317 #989323 #CAC32E #DAD45B #E5E18D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC32E#FFFFFF#000000##000000
##CAC32E1.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)
#D4BB01
Deuteranopia (green-blind)
#D7C13A
Tritanopia (blue-blind)
#D9B6A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac32e;
/* rgb */ color: rgb(202, 195, 46);
/* oklch */ color: oklch(79.8% 0.158 106.7);
Tailwind
colors: {
  custom: {
    50: '#ded474',
    500: '#cac32e',
    950: '#000000',
  },
}
SCSS
$custom: #cac32e;
$custom-light: #ded474;
$custom-dark: #000000;
JSON
{
  "hex": "#cac32e",
  "rgb": {
    "r": 202,
    "g": 195,
    "b": 46
  },
  "hsl": {
    "h": 57.308,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.79836,
    "c": 0.15835,
    "h": 106.7
  },
  "luminance": 0.51784
}

Semantic roles & 50–950 ramp

primary
#CAC32E
secondary
#2C2F70
accent
#49E642
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC32E

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

Preview Lab → · Contrast checker → · Palette generator →

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