#CAC32C#CAC32C

#CAC32C 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.35:1 contrast (WCAG AA passes).

Color values

HEX#CAC32C
RGBrgb(202, 195, 44)
HSLhsl(57, 64%, 48%)
HSVhsv(57, 78%, 79%)
CMYKcmyk(0%, 3.5%, 78.2%, 20.8%)
CIE-LABlab(77.14, -13.73, 70.24)
CIE-LCHlch(77.14, 71.57, 101.06°)
OKLaboklab(79.83% -0.0458 0.1526)
OKLCHoklch(79.83% 0.159 106.7)
XYZxyz(44.3287, 51.7703, 10.0400)
Luminance0.5177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC32C #2C33CA
analogous
#CA742C #CAC32C #82CA2C
triadic
#CAC32C #2CCAC3 #C32CCA
tetradic
#CAC32C #2CCA74 #2C33CA #CA2C82
square
#CAC32C #2CCA74 #2C33CA #CA2C82
split-complementary
#CAC32C #2C82CA #742CCA
monochromatic
#656216 #989221 #CAC32C #DBD558 #E6E28B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC32C#FFFFFF#000000##000000
##CAC32C1.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)
#D7C139
Tritanopia (blue-blind)
#D9B6A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac32c;
/* rgb */ color: rgb(202, 195, 44);
/* oklch */ color: oklch(79.8% 0.159 106.7);
Tailwind
colors: {
  custom: {
    50: '#ded473',
    500: '#cac32c',
    950: '#000000',
  },
}
SCSS
$custom: #cac32c;
$custom-light: #ded473;
$custom-dark: #000000;
JSON
{
  "hex": "#cac32c",
  "rgb": {
    "r": 202,
    "g": 195,
    "b": 44
  },
  "hsl": {
    "h": 57.342,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.79826,
    "c": 0.15931,
    "h": 106.7
  },
  "luminance": 0.51769
}

Semantic roles & 50–950 ramp

primary
#CAC32C
secondary
#2A2E70
accent
#48E741
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC32C

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

Preview Lab → · Contrast checker → · Palette generator →

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