#BABE56#BABE56

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

Color values

HEX#BABE56
RGBrgb(186, 190, 86)
HSLhsl(62, 44%, 54%)
HSVhsv(62, 55%, 75%)
CMYKcmyk(2.1%, 0%, 54.7%, 25.5%)
CIE-LABlab(74.79, -15.56, 51.14)
CIE-LCHlch(74.79, 53.46, 106.92°)
OKLaboklab(77.72% -0.0458 0.1192)
OKLCHoklch(77.72% 0.128 111)
XYZxyz(40.3438, 47.9388, 15.9302)
Luminance0.4794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABE56 #5A56BE
analogous
#BE8E56 #BABE56 #86BE56
triadic
#BABE56 #56BABE #BE56BA
tetradic
#BABE56 #56BE8E #5A56BE #BE5686
square
#BABE56 #56BE8E #5A56BE #BE5686
split-complementary
#BABE56 #5686BE #8E56BE
monochromatic
#6C6F2B #979B3C #BABE56 #CCCF82 #DEE0AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABE56#FFFFFF#000000##000000
##BABE561.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)
#CBB64B
Deuteranopia (green-blind)
#CCBA5C
Tritanopia (blue-blind)
#C5B4A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #babe56;
/* rgb */ color: rgb(186, 190, 86);
/* oklch */ color: oklch(77.7% 0.128 111.0);
Tailwind
colors: {
  custom: {
    50: '#d1d189',
    500: '#babe56',
    950: '#000000',
  },
}
SCSS
$custom: #babe56;
$custom-light: #d1d189;
$custom-dark: #000000;
JSON
{
  "hex": "#babe56",
  "rgb": {
    "r": 186,
    "g": 190,
    "b": 86
  },
  "hsl": {
    "h": 62.308,
    "s": 44.444,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77725,
    "c": 0.12766,
    "h": 111
  },
  "luminance": 0.47938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BABE56

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

Preview Lab → · Contrast checker → · Palette generator →

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