#CABE59#CABE59

#CABE59 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.1% C 0.123 H 102.6°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#CABE59
RGBrgb(202, 190, 89)
HSLhsl(54, 52%, 57%)
HSVhsv(54, 56%, 79%)
CMYKcmyk(0%, 5.9%, 55.9%, 20.8%)
CIE-LABlab(76.13, -8.66, 51.64)
CIE-LCHlch(76.13, 52.36, 99.52°)
OKLaboklab(79.13% -0.0268 0.1203)
OKLCHoklch(79.13% 0.123 102.6)
XYZxyz(44.5752, 50.1063, 16.7727)
Luminance0.5010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABE59 #5965CA
analogous
#CA8559 #CABE59 #9ECA59
triadic
#CABE59 #59CABE #BE59CA
tetradic
#CABE59 #59CA85 #5965CA #CA599E
square
#CABE59 #59CA85 #5965CA #CA599E
split-complementary
#CABE59 #599ECA #8559CA
monochromatic
#807729 #AEA238 #CABE59 #D9D087 #E8E2B6

Accessibility & contrast

On white

1.91
#CABE59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#CABE59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABE59
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABE59#FFFFFF#000000##000000
##CABE591.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB94F
Deuteranopia (green-blind)
#D1BE5E
Tritanopia (blue-blind)
#D8B2A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabe59;
/* rgb */ color: rgb(202, 190, 89);
/* oklch */ color: oklch(79.1% 0.123 102.6);
Tailwind
colors: {
  custom: {
    50: '#ddd18b',
    500: '#cabe59',
    950: '#000000',
  },
}
SCSS
$custom: #cabe59;
$custom-light: #ddd18b;
$custom-dark: #000000;
JSON
{
  "hex": "#cabe59",
  "rgb": {
    "r": 202,
    "g": 190,
    "b": 89
  },
  "hsl": {
    "h": 53.628,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79128,
    "c": 0.12321,
    "h": 102.6
  },
  "luminance": 0.50105
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CABE59

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

Preview Lab → · Contrast checker → · Palette generator →

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