#CACA32#CACA32

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

Color values

HEX#CACA32
RGBrgb(202, 202, 50)
HSLhsl(60, 60%, 49%)
HSVhsv(60, 75%, 79%)
CMYKcmyk(0%, 0%, 75.2%, 20.8%)
CIE-LABlab(79.06, -17.01, 70.15)
CIE-LCHlch(79.06, 72.18, 103.63°)
OKLaboklab(81.36% -0.0544 0.1535)
OKLCHoklch(81.36% 0.163 109.5)
XYZxyz(46.0551, 55.0293, 11.2127)
Luminance0.5503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA32 #3232CA
analogous
#CA7E32 #CACA32 #7ECA32
triadic
#CACA32 #32CACA #CA32CA
tetradic
#CACA32 #32CA7E #3232CA #CA327E
square
#CACA32 #32CA7E #3232CA #CA327E
split-complementary
#CACA32 #327ECA #7E32CA
monochromatic
#68681A #999926 #CACA32 #D8D861 #E4E492

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACA32#FFFFFF#000000##000000
##CACA321.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)
#DBC109
Deuteranopia (green-blind)
#DCC63F
Tritanopia (blue-blind)
#D9BDAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #caca32;
/* rgb */ color: rgb(202, 202, 50);
/* oklch */ color: oklch(81.4% 0.163 109.5);
Tailwind
colors: {
  custom: {
    50: '#ded976',
    500: '#caca32',
    950: '#000000',
  },
}
SCSS
$custom: #caca32;
$custom-light: #ded976;
$custom-dark: #000000;
JSON
{
  "hex": "#caca32",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 50
  },
  "hsl": {
    "h": 60,
    "s": 60.317,
    "l": 49.412
  },
  "oklch": {
    "l": 0.81363,
    "c": 0.16287,
    "h": 109.5
  },
  "luminance": 0.55028
}

Semantic roles & 50–950 ramp

primary
#CACA32
secondary
#2E2E72
accent
#44E344
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CACA32

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

Preview Lab → · Contrast checker → · Palette generator →

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