#CAC33B#CAC33B

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

Color values

HEX#CAC33B
RGBrgb(202, 195, 59)
HSLhsl(57, 57%, 51%)
HSVhsv(57, 71%, 79%)
CMYKcmyk(0%, 3.5%, 70.8%, 20.8%)
CIE-LABlab(77.22, -13.10, 65.37)
CIE-LCHlch(77.22, 66.67, 101.33°)
OKLaboklab(79.92% -0.0427 0.145)
OKLCHoklch(79.92% 0.151 106.4)
XYZxyz(44.6634, 51.9041, 11.8027)
Luminance0.5190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC33B #3B42CA
analogous
#CA7B3B #CAC33B #89CA3B
triadic
#CAC33B #3BCAC3 #C33BCA
tetradic
#CAC33B #3BCA7B #3B42CA #CA3B89
square
#CAC33B #3BCA7B #3B42CA #CA3B89
split-complementary
#CAC33B #3B89CA #7B3BCA
monochromatic
#6D691E #9D982B #CAC33B #D7D26B #E4E09B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC33B#FFFFFF#000000##000000
##CAC33B1.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)
#D4BC24
Deuteranopia (green-blind)
#D7C145
Tritanopia (blue-blind)
#D9B6A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cac33b;
/* rgb */ color: rgb(202, 195, 59);
/* oklch */ color: oklch(79.9% 0.151 106.4);
Tailwind
colors: {
  custom: {
    50: '#ded47a',
    500: '#cac33b',
    950: '#000000',
  },
}
SCSS
$custom: #cac33b;
$custom-light: #ded47a;
$custom-dark: #000000;
JSON
{
  "hex": "#cac33b",
  "rgb": {
    "r": 202,
    "g": 195,
    "b": 59
  },
  "hsl": {
    "h": 57.063,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79915,
    "c": 0.15113,
    "h": 106.4
  },
  "luminance": 0.51903
}

Semantic roles & 50–950 ramp

primary
#CAC33B
secondary
#333677
accent
#4FE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC33B

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

Preview Lab → · Contrast checker → · Palette generator →

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