#CABE58#CABE58

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

Color values

HEX#CABE58
RGBrgb(202, 190, 88)
HSLhsl(54, 52%, 57%)
HSVhsv(54, 56%, 79%)
CMYKcmyk(0%, 5.9%, 56.4%, 20.8%)
CIE-LABlab(76.12, -8.74, 52.09)
CIE-LCHlch(76.12, 52.82, 99.52°)
OKLaboklab(79.12% -0.0272 0.1211)
OKLCHoklch(79.12% 0.124 102.6)
XYZxyz(44.5335, 50.0896, 16.5531)
Luminance0.5009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABE58 #5864CA
analogous
#CA8558 #CABE58 #9DCA58
triadic
#CABE58 #58CABE #BE58CA
tetradic
#CABE58 #58CA85 #5864CA #CA589D
square
#CABE58 #58CA85 #5864CA #CA589D
split-complementary
#CABE58 #589DCA #8558CA
monochromatic
#7F7628 #AEA137 #CABE58 #D9D086 #E7E2B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABE58#FFFFFF#000000##000000
##CABE581.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)
#CDB84E
Deuteranopia (green-blind)
#D1BE5D
Tritanopia (blue-blind)
#D8B2A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabe58;
/* rgb */ color: rgb(202, 190, 88);
/* oklch */ color: oklch(79.1% 0.124 102.6);
Tailwind
colors: {
  custom: {
    50: '#ddd18a',
    500: '#cabe58',
    950: '#000000',
  },
}
SCSS
$custom: #cabe58;
$custom-light: #ddd18a;
$custom-dark: #000000;
JSON
{
  "hex": "#cabe58",
  "rgb": {
    "r": 202,
    "g": 190,
    "b": 88
  },
  "hsl": {
    "h": 53.684,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79116,
    "c": 0.12412,
    "h": 102.6
  },
  "luminance": 0.50088
}

Semantic roles & 50–950 ramp

primary
#CABE58
secondary
#3F4787
accent
#5CDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CABE58

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

Preview Lab → · Contrast checker → · Palette generator →

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