#CACA52#CACA52

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

Color values

HEX#CACA52
RGBrgb(202, 202, 82)
HSLhsl(60, 53%, 56%)
HSVhsv(60, 59%, 79%)
CMYKcmyk(0%, 0%, 59.4%, 20.8%)
CIE-LABlab(79.28, -15.28, 58.29)
CIE-LCHlch(79.28, 60.26, 104.69°)
OKLaboklab(81.61% -0.0464 0.1336)
OKLCHoklch(81.61% 0.141 109.2)
XYZxyz(47.0020, 55.4081, 16.1999)
Luminance0.5541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA52 #5252CA
analogous
#CA8E52 #CACA52 #8ECA52
triadic
#CACA52 #52CACA #CA52CA
tetradic
#CACA52 #52CA8E #5252CA #CA528E
square
#CACA52 #52CA8E #5252CA #CA528E
split-complementary
#CACA52 #528ECA #8E52CA
monochromatic
#7C7C26 #ABAB34 #CACA52 #D8D881 #E7E7B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACA52#FFFFFF#000000##000000
##CACA521.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)
#D9C244
Deuteranopia (green-blind)
#DBC659
Tritanopia (blue-blind)
#D7BEB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #caca52;
/* rgb */ color: rgb(202, 202, 82);
/* oklch */ color: oklch(81.6% 0.141 109.2);
Tailwind
colors: {
  custom: {
    50: '#ddd987',
    500: '#caca52',
    950: '#000000',
  },
}
SCSS
$custom: #caca52;
$custom-light: #ddd987;
$custom-dark: #000000;
JSON
{
  "hex": "#caca52",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 60,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81607,
    "c": 0.14144,
    "h": 109.2
  },
  "luminance": 0.55407
}

Semantic roles & 50–950 ramp

primary
#CACA52
secondary
#3C3C84
accent
#4BDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CACA52

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

Preview Lab → · Contrast checker → · Palette generator →

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