#CABC51#CABC51

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

Color values

HEX#CABC51
RGBrgb(202, 188, 81)
HSLhsl(53, 53%, 55%)
HSVhsv(53, 60%, 79%)
CMYKcmyk(0%, 6.9%, 59.9%, 20.8%)
CIE-LABlab(75.53, -8.22, 54.61)
CIE-LCHlch(75.53, 55.23, 98.56°)
OKLaboklab(78.62% -0.0265 0.1256)
OKLCHoklch(78.62% 0.128 101.9)
XYZxyz(43.8272, 49.1188, 14.9553)
Luminance0.4912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABC51 #515FCA
analogous
#CA7F51 #CABC51 #9BCA51
triadic
#CABC51 #51CABC #BC51CA
tetradic
#CABC51 #51CA7F #515FCA #CA519B
square
#CABC51 #51CA7F #515FCA #CA519B
split-complementary
#CABC51 #519BCA #7F51CA
monochromatic
#7B7125 #AA9C34 #CABC51 #D8CE80 #E7E0AF

Accessibility & contrast

On white

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

On black

10.82
#CABC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABC51
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABC51#FFFFFF#000000##000000
##CABC511.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cabc51;
/* rgb */ color: rgb(202, 188, 81);
/* oklch */ color: oklch(78.6% 0.128 101.9);
Tailwind
colors: {
  custom: {
    50: '#ddcf86',
    500: '#cabc51',
    950: '#000000',
  },
}
SCSS
$custom: #cabc51;
$custom-light: #ddcf86;
$custom-dark: #000000;
JSON
{
  "hex": "#cabc51",
  "rgb": {
    "r": 202,
    "g": 188,
    "b": 81
  },
  "hsl": {
    "h": 53.058,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78619,
    "c": 0.1284,
    "h": 101.9
  },
  "luminance": 0.49117
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CABC51

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

Preview Lab → · Contrast checker → · Palette generator →

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