#CABE57#CABE57

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

Color values

HEX#CABE57
RGBrgb(202, 190, 87)
HSLhsl(54, 52%, 57%)
HSVhsv(54, 57%, 79%)
CMYKcmyk(0%, 5.9%, 56.9%, 20.8%)
CIE-LABlab(76.11, -8.82, 52.54)
CIE-LCHlch(76.11, 53.28, 99.53°)
OKLaboklab(79.11% -0.0275 0.122)
OKLCHoklch(79.11% 0.125 102.7)
XYZxyz(44.4924, 50.0732, 16.3364)
Luminance0.5007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABE57 #5763CA
analogous
#CA8557 #CABE57 #9DCA57
triadic
#CABE57 #57CABE #BE57CA
tetradic
#CABE57 #57CA85 #5763CA #CA579D
square
#CABE57 #57CA85 #5763CA #CA579D
split-complementary
#CABE57 #579DCA #8557CA
monochromatic
#7F7628 #ADA137 #CABE57 #D9D086 #E7E2B4

Accessibility & contrast

On white

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

On black

11.01
#CABE57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABE57
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABE57#FFFFFF#000000##000000
##CABE571.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB84C
Deuteranopia (green-blind)
#D1BE5C
Tritanopia (blue-blind)
#D8B2A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabe57;
/* rgb */ color: rgb(202, 190, 87);
/* oklch */ color: oklch(79.1% 0.125 102.7);
Tailwind
colors: {
  custom: {
    50: '#ddd18a',
    500: '#cabe57',
    950: '#000000',
  },
}
SCSS
$custom: #cabe57;
$custom-light: #ddd18a;
$custom-dark: #000000;
JSON
{
  "hex": "#cabe57",
  "rgb": {
    "r": 202,
    "g": 190,
    "b": 87
  },
  "hsl": {
    "h": 53.739,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79105,
    "c": 0.12502,
    "h": 102.7
  },
  "luminance": 0.50072
}

Semantic roles & 50–950 ramp

primary
#CABE57
secondary
#3F4687
accent
#5BDB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CABE57

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

Preview Lab → · Contrast checker → · Palette generator →

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