#CACA50#CACA50

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

Color values

HEX#CACA50
RGBrgb(202, 202, 80)
HSLhsl(60, 54%, 55%)
HSVhsv(60, 60%, 79%)
CMYKcmyk(0%, 0%, 60.4%, 20.8%)
CIE-LABlab(79.26, -15.41, 59.13)
CIE-LCHlch(79.26, 61.11, 104.61°)
OKLaboklab(81.59% -0.047 0.1351)
OKLCHoklch(81.59% 0.143 109.2)
XYZxyz(46.9270, 55.3781, 15.8049)
Luminance0.5538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA50 #5050CA
analogous
#CA8D50 #CACA50 #8DCA50
triadic
#CACA50 #50CACA #CA50CA
tetradic
#CACA50 #50CA8D #5050CA #CA508D
square
#CACA50 #50CA8D #5050CA #CA508D
split-complementary
#CACA50 #508DCA #8D50CA
monochromatic
#7A7A25 #A9A933 #CACA50 #D8D87F #E6E6AE

Accessibility & contrast

On white

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

On black

12.08
#CACA50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACA50
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACA50#FFFFFF#000000##000000
##CACA501.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caca50;
/* rgb */ color: rgb(202, 202, 80);
/* oklch */ color: oklch(81.6% 0.143 109.2);
Tailwind
colors: {
  custom: {
    50: '#ddd986',
    500: '#caca50',
    950: '#000000',
  },
}
SCSS
$custom: #caca50;
$custom-light: #ddd986;
$custom-dark: #000000;
JSON
{
  "hex": "#caca50",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 80
  },
  "hsl": {
    "h": 60,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81587,
    "c": 0.14306,
    "h": 109.2
  },
  "luminance": 0.55377
}

Semantic roles & 50–950 ramp

primary
#CACA50
secondary
#3B3B83
accent
#4BDD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CACA50

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

Preview Lab → · Contrast checker → · Palette generator →

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