#CACA2D#CACA2D

#CACA2D is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.3% C 0.165 H 109.6°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#CACA2D
RGBrgb(202, 202, 45)
HSLhsl(60, 64%, 48%)
HSVhsv(60, 78%, 79%)
CMYKcmyk(0%, 0%, 77.7%, 20.8%)
CIE-LABlab(79.03, -17.20, 71.63)
CIE-LCHlch(79.03, 73.67, 103.50°)
OKLaboklab(81.34% -0.0554 0.1558)
OKLCHoklch(81.34% 0.165 109.6)
XYZxyz(45.9531, 54.9885, 10.6753)
Luminance0.5499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA2D #2D2DCA
analogous
#CA7B2D #CACA2D #7BCA2D
triadic
#CACA2D #2DCACA #CA2DCA
tetradic
#CACA2D #2DCA7B #2D2DCA #CA2D7B
square
#CACA2D #2DCA7B #2D2DCA #CA2D7B
split-complementary
#CACA2D #2D7BCA #7B2DCA
monochromatic
#666617 #989822 #CACA2D #DADA5A #E5E58C

Accessibility & contrast

On white

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

On black

12.00
#CACA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACA2D
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACA2D#FFFFFF#000000##000000
##CACA2D1.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC100
Deuteranopia (green-blind)
#DCC63B
Tritanopia (blue-blind)
#D9BDAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #caca2d;
/* rgb */ color: rgb(202, 202, 45);
/* oklch */ color: oklch(81.3% 0.165 109.6);
Tailwind
colors: {
  custom: {
    50: '#ded974',
    500: '#caca2d',
    950: '#000000',
  },
}
SCSS
$custom: #caca2d;
$custom-light: #ded974;
$custom-dark: #000000;
JSON
{
  "hex": "#caca2d",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 45
  },
  "hsl": {
    "h": 60,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.81337,
    "c": 0.16531,
    "h": 109.6
  },
  "luminance": 0.54987
}

Semantic roles & 50–950 ramp

primary
#CACA2D
secondary
#2B2B70
accent
#41E741
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CACA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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