#CAC33F#CAC33F

#CAC33F 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#CAC33F
RGBrgb(202, 195, 63)
HSLhsl(57, 57%, 52%)
HSVhsv(57, 69%, 79%)
CMYKcmyk(0%, 3.5%, 68.8%, 20.8%)
CIE-LABlab(77.25, -12.90, 63.91)
CIE-LCHlch(77.25, 65.20, 101.41°)
OKLaboklab(79.94% -0.0417 0.1426)
OKLCHoklch(79.94% 0.149 106.3)
XYZxyz(44.7711, 51.9472, 12.3701)
Luminance0.5195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC33F #3F46CA
analogous
#CA7D3F #CAC33F #8CCA3F
triadic
#CAC33F #3FCAC3 #C33FCA
tetradic
#CAC33F #3FCA7D #3F46CA #CA3F8C
square
#CAC33F #3FCA7D #3F46CA #CA3F8C
split-complementary
#CAC33F #3F8CCA #7D3FCA
monochromatic
#706C1F #A09A2C #CAC33F #D7D26F #E4E19F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC33F#FFFFFF#000000##000000
##CAC33F1.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)
#D3BC2B
Deuteranopia (green-blind)
#D6C148
Tritanopia (blue-blind)
#D9B6A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cac33f;
/* rgb */ color: rgb(202, 195, 63);
/* oklch */ color: oklch(79.9% 0.149 106.3);
Tailwind
colors: {
  custom: {
    50: '#ded47c',
    500: '#cac33f',
    950: '#000000',
  },
}
SCSS
$custom: #cac33f;
$custom-light: #ded47c;
$custom-dark: #000000;
JSON
{
  "hex": "#cac33f",
  "rgb": {
    "r": 202,
    "g": 195,
    "b": 63
  },
  "hsl": {
    "h": 56.978,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.79944,
    "c": 0.14857,
    "h": 106.3
  },
  "luminance": 0.51946
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC33F

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

Preview Lab → · Contrast checker → · Palette generator →

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