#BABE57#BABE57

#BABE57 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.7% C 0.127 H 111.0°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#BABE57
RGBrgb(186, 190, 87)
HSLhsl(62, 44%, 54%)
HSVhsv(62, 54%, 75%)
CMYKcmyk(2.1%, 0%, 54.2%, 25.5%)
CIE-LABlab(74.80, -15.47, 50.69)
CIE-LCHlch(74.80, 53.00, 106.97°)
OKLaboklab(77.74% -0.0455 0.1183)
OKLCHoklch(77.74% 0.127 111)
XYZxyz(40.3844, 47.9550, 16.1438)
Luminance0.4795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABE57 #5B57BE
analogous
#BE8F57 #BABE57 #87BE57
triadic
#BABE57 #57BABE #BE57BA
tetradic
#BABE57 #57BE8F #5B57BE #BE5787
square
#BABE57 #57BE8F #5B57BE #BE5787
split-complementary
#BABE57 #5787BE #8F57BE
monochromatic
#6D6F2B #989C3C #BABE57 #CCCF83 #DEE0AF

Accessibility & contrast

On white

1.98
#BABE57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#BABE57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABE57
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABE57#FFFFFF#000000##000000
##BABE571.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB64D
Deuteranopia (green-blind)
#CCBA5D
Tritanopia (blue-blind)
#C5B4A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #babe57;
/* rgb */ color: rgb(186, 190, 87);
/* oklch */ color: oklch(77.7% 0.127 111.0);
Tailwind
colors: {
  custom: {
    50: '#d1d18a',
    500: '#babe57',
    950: '#000000',
  },
}
SCSS
$custom: #babe57;
$custom-light: #d1d18a;
$custom-dark: #000000;
JSON
{
  "hex": "#babe57",
  "rgb": {
    "r": 186,
    "g": 190,
    "b": 87
  },
  "hsl": {
    "h": 62.33,
    "s": 44.206,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77736,
    "c": 0.12674,
    "h": 111
  },
  "luminance": 0.47954
}

Semantic roles & 50–950 ramp

primary
#BABE57
secondary
#A4A3CE
accent
#54D459
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140C
muted
#83827D

Preview Lab

Preview with #BABE57

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

Preview Lab → · Contrast checker → · Palette generator →

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