#CAC33C#CAC33C

#CAC33C 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#CAC33C
RGBrgb(202, 195, 60)
HSLhsl(57, 57%, 51%)
HSVhsv(57, 70%, 79%)
CMYKcmyk(0%, 3.5%, 70.3%, 20.8%)
CIE-LABlab(77.23, -13.05, 65.01)
CIE-LCHlch(77.23, 66.31, 101.35°)
OKLaboklab(79.92% -0.0424 0.1444)
OKLCHoklch(79.92% 0.151 106.4)
XYZxyz(44.6896, 51.9146, 11.9406)
Luminance0.5191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC33C #3C43CA
analogous
#CA7C3C #CAC33C #8ACA3C
triadic
#CAC33C #3CCAC3 #C33CCA
tetradic
#CAC33C #3CCA7C #3C43CA #CA3C8A
square
#CAC33C #3CCA7C #3C43CA #CA3C8A
split-complementary
#CAC33C #3C8ACA #7C3CCA
monochromatic
#6E6A1E #9E982B #CAC33C #D7D26C #E4E19C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #cac33c;
/* rgb */ color: rgb(202, 195, 60);
/* oklch */ color: oklch(79.9% 0.150 106.4);
Tailwind
colors: {
  custom: {
    50: '#ded47a',
    500: '#cac33c',
    950: '#000000',
  },
}
SCSS
$custom: #cac33c;
$custom-light: #ded47a;
$custom-dark: #000000;
JSON
{
  "hex": "#cac33c",
  "rgb": {
    "r": 202,
    "g": 195,
    "b": 60
  },
  "hsl": {
    "h": 57.042,
    "s": 57.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79922,
    "c": 0.1505,
    "h": 106.4
  },
  "luminance": 0.51913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC33C

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

Preview Lab → · Contrast checker → · Palette generator →

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