#CAC33E#CAC33E

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

Color values

HEX#CAC33E
RGBrgb(202, 195, 62)
HSLhsl(57, 57%, 52%)
HSVhsv(57, 69%, 79%)
CMYKcmyk(0%, 3.5%, 69.3%, 20.8%)
CIE-LABlab(77.24, -12.95, 64.28)
CIE-LCHlch(77.24, 65.57, 101.39°)
OKLaboklab(79.94% -0.042 0.1432)
OKLCHoklch(79.94% 0.149 106.3)
XYZxyz(44.7435, 51.9361, 12.2243)
Luminance0.5193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC33E #3E45CA
analogous
#CA7D3E #CAC33E #8BCA3E
triadic
#CAC33E #3ECAC3 #C33ECA
tetradic
#CAC33E #3ECA7D #3E45CA #CA3E8B
square
#CAC33E #3ECA7D #3E45CA #CA3E8B
split-complementary
#CAC33E #3E8BCA #7D3ECA
monochromatic
#6F6B1F #9F992C #CAC33E #D7D26E #E4E19E

Accessibility & contrast

On white

1.84
#CAC33E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#CAC33E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC33E
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC33E#FFFFFF#000000##000000
##CAC33E1.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC29
Deuteranopia (green-blind)
#D6C147
Tritanopia (blue-blind)
#D9B6A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cac33e;
/* rgb */ color: rgb(202, 195, 62);
/* oklch */ color: oklch(79.9% 0.149 106.3);
Tailwind
colors: {
  custom: {
    50: '#ded47b',
    500: '#cac33e',
    950: '#000000',
  },
}
SCSS
$custom: #cac33e;
$custom-light: #ded47b;
$custom-dark: #000000;
JSON
{
  "hex": "#cac33e",
  "rgb": {
    "r": 202,
    "g": 195,
    "b": 62
  },
  "hsl": {
    "h": 57,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.79937,
    "c": 0.14922,
    "h": 106.3
  },
  "luminance": 0.51935
}

Semantic roles & 50–950 ramp

primary
#CAC33E
secondary
#343778
accent
#4FE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC33E

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

Preview Lab → · Contrast checker → · Palette generator →

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