#CABD52#CABD52

#CABD52 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.8% C 0.128 H 102.4°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#CABD52
RGBrgb(202, 189, 82)
HSLhsl(54, 53%, 56%)
HSVhsv(54, 59%, 79%)
CMYKcmyk(0%, 6.4%, 59.4%, 20.8%)
CIE-LABlab(75.80, -8.67, 54.47)
CIE-LCHlch(75.80, 55.15, 99.04°)
OKLaboklab(78.84% -0.0276 0.1255)
OKLCHoklch(78.84% 0.128 102.4)
XYZxyz(44.0793, 49.5626, 15.2257)
Luminance0.4956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABD52 #525FCA
analogous
#CA8152 #CABD52 #9BCA52
triadic
#CABD52 #52CABD #BD52CA
tetradic
#CABD52 #52CA81 #525FCA #CA529B
square
#CABD52 #52CA81 #525FCA #CA529B
split-complementary
#CABD52 #529BCA #8152CA
monochromatic
#7C7226 #AB9E34 #CABD52 #D8CF81 #E7E1B0

Accessibility & contrast

On white

1.92
#CABD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#CABD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABD52
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABD52#FFFFFF#000000##000000
##CABD521.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB746
Deuteranopia (green-blind)
#D1BD58
Tritanopia (blue-blind)
#D8B1A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cabd52;
/* rgb */ color: rgb(202, 189, 82);
/* oklch */ color: oklch(78.8% 0.128 102.4);
Tailwind
colors: {
  custom: {
    50: '#ddd087',
    500: '#cabd52',
    950: '#000000',
  },
}
SCSS
$custom: #cabd52;
$custom-light: #ddd087;
$custom-dark: #000000;
JSON
{
  "hex": "#cabd52",
  "rgb": {
    "r": 202,
    "g": 189,
    "b": 82
  },
  "hsl": {
    "h": 53.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.7884,
    "c": 0.12847,
    "h": 102.4
  },
  "luminance": 0.49561
}

Semantic roles & 50–950 ramp

primary
#CABD52
secondary
#A3A8D5
accent
#5BDD4B
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #CABD52

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

Preview Lab → · Contrast checker → · Palette generator →

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