#CABD51#CABD51

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

Color values

HEX#CABD51
RGBrgb(202, 189, 81)
HSLhsl(54, 53%, 55%)
HSVhsv(54, 60%, 79%)
CMYKcmyk(0%, 6.4%, 59.9%, 20.8%)
CIE-LABlab(75.79, -8.74, 54.90)
CIE-LCHlch(75.79, 55.60, 99.04°)
OKLaboklab(78.83% -0.0279 0.1263)
OKLCHoklch(78.83% 0.129 102.5)
XYZxyz(44.0415, 49.5475, 15.0267)
Luminance0.4955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABD51 #515ECA
analogous
#CA8151 #CABD51 #9ACA51
triadic
#CABD51 #51CABD #BD51CA
tetradic
#CABD51 #51CA81 #515ECA #CA519A
square
#CABD51 #51CA81 #515ECA #CA519A
split-complementary
#CABD51 #519ACA #8151CA
monochromatic
#7B7225 #AA9D34 #CABD51 #D8CF80 #E7E1AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABD51#FFFFFF#000000##000000
##CABD511.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)
#CDB745
Deuteranopia (green-blind)
#D1BD57
Tritanopia (blue-blind)
#D8B1A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cabd51;
/* rgb */ color: rgb(202, 189, 81);
/* oklch */ color: oklch(78.8% 0.129 102.5);
Tailwind
colors: {
  custom: {
    50: '#ddd086',
    500: '#cabd51',
    950: '#000000',
  },
}
SCSS
$custom: #cabd51;
$custom-light: #ddd086;
$custom-dark: #000000;
JSON
{
  "hex": "#cabd51",
  "rgb": {
    "r": 202,
    "g": 189,
    "b": 81
  },
  "hsl": {
    "h": 53.554,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.7883,
    "c": 0.12931,
    "h": 102.5
  },
  "luminance": 0.49546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CABD51

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

Preview Lab → · Contrast checker → · Palette generator →

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