#CABC52#CABC52

#CABC52 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.6% C 0.128 H 101.8°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#CABC52
RGBrgb(202, 188, 82)
HSLhsl(53, 53%, 56%)
HSVhsv(53, 59%, 79%)
CMYKcmyk(0%, 6.9%, 59.4%, 20.8%)
CIE-LABlab(75.53, -8.15, 54.17)
CIE-LCHlch(75.53, 54.78, 98.56°)
OKLaboklab(78.63% -0.0262 0.1248)
OKLCHoklch(78.63% 0.128 101.8)
XYZxyz(43.8649, 49.1339, 15.1542)
Luminance0.4913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABC52 #5260CA
analogous
#CA8052 #CABC52 #9CCA52
triadic
#CABC52 #52CABC #BC52CA
tetradic
#CABC52 #52CA80 #5260CA #CA529C
square
#CABC52 #52CA80 #5260CA #CA529C
split-complementary
#CABC52 #529CCA #8052CA
monochromatic
#7C7226 #AB9D34 #CABC52 #D8CE81 #E7E0B0

Accessibility & contrast

On white

1.94
#CABC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#CABC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABC52
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABC52#FFFFFF#000000##000000
##CABC521.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB747
Deuteranopia (green-blind)
#D0BD57
Tritanopia (blue-blind)
#D8B0A5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cabc52;
/* rgb */ color: rgb(202, 188, 82);
/* oklch */ color: oklch(78.6% 0.128 101.8);
Tailwind
colors: {
  custom: {
    50: '#ddcf86',
    500: '#cabc52',
    950: '#000000',
  },
}
SCSS
$custom: #cabc52;
$custom-light: #ddcf86;
$custom-dark: #000000;
JSON
{
  "hex": "#cabc52",
  "rgb": {
    "r": 202,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 53,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78629,
    "c": 0.12754,
    "h": 101.8
  },
  "luminance": 0.49132
}

Semantic roles & 50–950 ramp

primary
#CABC52
secondary
#A3A9D5
accent
#5CDD4B
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #CABC52

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

Preview Lab → · Contrast checker → · Palette generator →

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