#CACA37#CACA37

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

Color values

HEX#CACA37
RGBrgb(202, 202, 55)
HSLhsl(60, 58%, 50%)
HSVhsv(60, 73%, 79%)
CMYKcmyk(0%, 0%, 72.8%, 20.8%)
CIE-LABlab(79.08, -16.80, 68.55)
CIE-LCHlch(79.08, 70.58, 103.77°)
OKLaboklab(81.39% -0.0534 0.151)
OKLCHoklch(81.39% 0.16 109.5)
XYZxyz(46.1689, 55.0748, 11.8122)
Luminance0.5507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA37 #3737CA
analogous
#CA8037 #CACA37 #80CA37
triadic
#CACA37 #37CACA #CA37CA
tetradic
#CACA37 #37CA80 #3737CA #CA3780
square
#CACA37 #37CA80 #3737CA #CA3780
split-complementary
#CACA37 #3780CA #8037CA
monochromatic
#6A6A1C #9B9B29 #CACA37 #D7D767 #E4E498

Accessibility & contrast

On white

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

On black

12.01
#CACA37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACA37
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACA37#FFFFFF#000000##000000
##CACA371.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caca37;
/* rgb */ color: rgb(202, 202, 55);
/* oklch */ color: oklch(81.4% 0.160 109.5);
Tailwind
colors: {
  custom: {
    50: '#ded979',
    500: '#caca37',
    950: '#000000',
  },
}
SCSS
$custom: #caca37;
$custom-light: #ded979;
$custom-dark: #000000;
JSON
{
  "hex": "#caca37",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 55
  },
  "hsl": {
    "h": 60,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.81393,
    "c": 0.16017,
    "h": 109.5
  },
  "luminance": 0.55073
}

Semantic roles & 50–950 ramp

primary
#CACA37
secondary
#313174
accent
#46E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CACA37

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

Preview Lab → · Contrast checker → · Palette generator →

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