#CAC33D#CAC33D

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

Color values

HEX#CAC33D
RGBrgb(202, 195, 61)
HSLhsl(57, 57%, 52%)
HSVhsv(57, 70%, 79%)
CMYKcmyk(0%, 3.5%, 69.8%, 20.8%)
CIE-LABlab(77.24, -13.00, 64.65)
CIE-LCHlch(77.24, 65.94, 101.37°)
OKLaboklab(79.93% -0.0422 0.1438)
OKLCHoklch(79.93% 0.15 106.4)
XYZxyz(44.7163, 51.9253, 12.0811)
Luminance0.5192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC33D #3D44CA
analogous
#CA7D3D #CAC33D #8BCA3D
triadic
#CAC33D #3DCAC3 #C33DCA
tetradic
#CAC33D #3DCA7D #3D44CA #CA3D8B
square
#CAC33D #3DCA7D #3D44CA #CA3D8B
split-complementary
#CAC33D #3D8BCA #7D3DCA
monochromatic
#6E6A1E #9F992B #CAC33D #D7D26D #E4E19D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC33D#FFFFFF#000000##000000
##CAC33D1.001.8411.3811.38
#FFFFFF1.841.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac33d;
/* rgb */ color: rgb(202, 195, 61);
/* oklch */ color: oklch(79.9% 0.150 106.4);
Tailwind
colors: {
  custom: {
    50: '#ded47b',
    500: '#cac33d',
    950: '#000000',
  },
}
SCSS
$custom: #cac33d;
$custom-light: #ded47b;
$custom-dark: #000000;
JSON
{
  "hex": "#cac33d",
  "rgb": {
    "r": 202,
    "g": 195,
    "b": 61
  },
  "hsl": {
    "h": 57.021,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79929,
    "c": 0.14987,
    "h": 106.4
  },
  "luminance": 0.51924
}

Semantic roles & 50–950 ramp

primary
#CAC33D
secondary
#333778
accent
#4FE047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC33D

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

Preview Lab → · Contrast checker → · Palette generator →

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