#CACA4D#CACA4D

#CACA4D is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.6% C 0.145 H 109.2°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#CACA4D
RGBrgb(202, 202, 77)
HSLhsl(60, 54%, 55%)
HSVhsv(60, 62%, 79%)
CMYKcmyk(0%, 0%, 61.9%, 20.8%)
CIE-LABlab(79.23, -15.61, 60.37)
CIE-LCHlch(79.23, 62.35, 104.50°)
OKLaboklab(81.56% -0.0479 0.1373)
OKLCHoklch(81.56% 0.145 109.2)
XYZxyz(46.8187, 55.3347, 15.2341)
Luminance0.5533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA4D #4D4DCA
analogous
#CA8C4D #CACA4D #8CCA4D
triadic
#CACA4D #4DCACA #CA4DCA
tetradic
#CACA4D #4DCA8C #4D4DCA #CA4D8C
square
#CACA4D #4DCA8C #4D4DCA #CA4D8C
split-complementary
#CACA4D #4D8CCA #8C4DCA
monochromatic
#797924 #A8A832 #CACA4D #D8D87C #E6E6AB

Accessibility & contrast

On white

1.74
#CACA4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#CACA4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACA4D
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACA4D#FFFFFF#000000##000000
##CACA4D1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23D
Deuteranopia (green-blind)
#DBC655
Tritanopia (blue-blind)
#D7BEB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #caca4d;
/* rgb */ color: rgb(202, 202, 77);
/* oklch */ color: oklch(81.6% 0.145 109.2);
Tailwind
colors: {
  custom: {
    50: '#ddd984',
    500: '#caca4d',
    950: '#000000',
  },
}
SCSS
$custom: #caca4d;
$custom-light: #ddd984;
$custom-dark: #000000;
JSON
{
  "hex": "#caca4d",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 77
  },
  "hsl": {
    "h": 60,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.8156,
    "c": 0.14543,
    "h": 109.2
  },
  "luminance": 0.55333
}

Semantic roles & 50–950 ramp

primary
#CACA4D
secondary
#3A3A81
accent
#4ADD4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CACA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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