#CACA39#CACA39

#CACA39 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.4% C 0.159 H 109.5°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CACA39
RGBrgb(202, 202, 57)
HSLhsl(60, 58%, 51%)
HSVhsv(60, 72%, 79%)
CMYKcmyk(0%, 0%, 71.8%, 20.8%)
CIE-LABlab(79.10, -16.71, 67.88)
CIE-LCHlch(79.10, 69.91, 103.83°)
OKLaboklab(81.41% -0.053 0.1499)
OKLCHoklch(81.41% 0.159 109.5)
XYZxyz(46.2178, 55.0944, 12.0698)
Luminance0.5509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA39 #3939CA
analogous
#CA8139 #CACA39 #81CA39
triadic
#CACA39 #39CACA #CA39CA
tetradic
#CACA39 #39CA81 #3939CA #CA3981
square
#CACA39 #39CA81 #3939CA #CA3981
split-complementary
#CACA39 #3981CA #8139CA
monochromatic
#6C6C1D #9C9C2A #CACA39 #D7D769 #E4E49A

Accessibility & contrast

On white

1.75
#CACA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#CACA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACA39
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACA39#FFFFFF#000000##000000
##CACA391.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC11D
Deuteranopia (green-blind)
#DCC644
Tritanopia (blue-blind)
#D8BDAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #caca39;
/* rgb */ color: rgb(202, 202, 57);
/* oklch */ color: oklch(81.4% 0.159 109.5);
Tailwind
colors: {
  custom: {
    50: '#ded979',
    500: '#caca39',
    950: '#000000',
  },
}
SCSS
$custom: #caca39;
$custom-light: #ded979;
$custom-dark: #000000;
JSON
{
  "hex": "#caca39",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 57
  },
  "hsl": {
    "h": 60,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.81405,
    "c": 0.15903,
    "h": 109.5
  },
  "luminance": 0.55093
}

Semantic roles & 50–950 ramp

primary
#CACA39
secondary
#323275
accent
#47E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CACA39

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

Preview Lab → · Contrast checker → · Palette generator →

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