#CABE5B#CABE5B

#CABE5B is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.2% C 0.121 H 102.4°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#CABE5B
RGBrgb(202, 190, 91)
HSLhsl(54, 51%, 57%)
HSVhsv(54, 55%, 79%)
CMYKcmyk(0%, 5.9%, 55%, 20.8%)
CIE-LABlab(76.16, -8.51, 50.73)
CIE-LCHlch(76.16, 51.44, 99.52°)
OKLaboklab(79.15% -0.0261 0.1185)
OKLCHoklch(79.15% 0.121 102.4)
XYZxyz(44.6604, 50.1404, 17.2211)
Luminance0.5014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABE5B #5B67CA
analogous
#CA875B #CABE5B #9ECA5B
triadic
#CABE5B #5BCABE #BE5BCA
tetradic
#CABE5B #5BCA87 #5B67CA #CA5B9E
square
#CABE5B #5BCA87 #5B67CA #CA5B9E
split-complementary
#CABE5B #5B9ECA #875BCA
monochromatic
#81772A #AFA239 #CABE5B #D9D089 #E8E3B8

Accessibility & contrast

On white

1.90
#CABE5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#CABE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABE5B
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABE5B#FFFFFF#000000##000000
##CABE5B1.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB951
Deuteranopia (green-blind)
#D1BE60
Tritanopia (blue-blind)
#D8B3A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabe5b;
/* rgb */ color: rgb(202, 190, 91);
/* oklch */ color: oklch(79.2% 0.121 102.4);
Tailwind
colors: {
  custom: {
    50: '#dcd18c',
    500: '#cabe5b',
    950: '#000000',
  },
}
SCSS
$custom: #cabe5b;
$custom-light: #dcd18c;
$custom-dark: #000000;
JSON
{
  "hex": "#cabe5b",
  "rgb": {
    "r": 202,
    "g": 190,
    "b": 91
  },
  "hsl": {
    "h": 53.514,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79151,
    "c": 0.12136,
    "h": 102.4
  },
  "luminance": 0.50139
}

Semantic roles & 50–950 ramp

primary
#CABE5B
secondary
#414889
accent
#5CDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CABE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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