#CAC33A#CAC33A

#CAC33A is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.9% C 0.152 H 106.4°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#CAC33A
RGBrgb(202, 195, 58)
HSLhsl(57, 58%, 51%)
HSVhsv(57, 71%, 79%)
CMYKcmyk(0%, 3.5%, 71.3%, 20.8%)
CIE-LABlab(77.22, -13.15, 65.72)
CIE-LCHlch(77.22, 67.03, 101.31°)
OKLaboklab(79.91% -0.0429 0.1456)
OKLCHoklch(79.91% 0.152 106.4)
XYZxyz(44.6377, 51.8938, 11.6674)
Luminance0.5189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC33A #3A41CA
analogous
#CA7B3A #CAC33A #89CA3A
triadic
#CAC33A #3ACAC3 #C33ACA
tetradic
#CAC33A #3ACA7B #3A41CA #CA3A89
square
#CAC33A #3ACA7B #3A41CA #CA3A89
split-complementary
#CAC33A #3A89CA #7B3ACA
monochromatic
#6C691D #9D972A #CAC33A #D7D26A #E4E09A

Accessibility & contrast

On white

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

On black

11.38
#CAC33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC33A
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC33A#FFFFFF#000000##000000
##CAC33A1.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC22
Deuteranopia (green-blind)
#D7C144
Tritanopia (blue-blind)
#D9B6A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cac33a;
/* rgb */ color: rgb(202, 195, 58);
/* oklch */ color: oklch(79.9% 0.152 106.4);
Tailwind
colors: {
  custom: {
    50: '#ded479',
    500: '#cac33a',
    950: '#000000',
  },
}
SCSS
$custom: #cac33a;
$custom-light: #ded479;
$custom-dark: #000000;
JSON
{
  "hex": "#cac33a",
  "rgb": {
    "r": 202,
    "g": 195,
    "b": 58
  },
  "hsl": {
    "h": 57.083,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79908,
    "c": 0.15174,
    "h": 106.4
  },
  "luminance": 0.51892
}

Semantic roles & 50–950 ramp

primary
#CAC33A
secondary
#323576
accent
#4EE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC33A

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

Preview Lab → · Contrast checker → · Palette generator →

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