#BABE54#BABE54

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

Color values

HEX#BABE54
RGBrgb(186, 190, 84)
HSLhsl(62, 45%, 54%)
HSVhsv(62, 56%, 75%)
CMYKcmyk(2.1%, 0%, 55.8%, 25.5%)
CIE-LABlab(74.77, -15.72, 52.04)
CIE-LCHlch(74.77, 54.36, 106.80°)
OKLaboklab(77.7% -0.0465 0.1209)
OKLCHoklch(77.7% 0.129 111)
XYZxyz(40.2644, 47.9070, 15.5117)
Luminance0.4791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABE54 #5854BE
analogous
#BE8D54 #BABE54 #85BE54
triadic
#BABE54 #54BABE #BE54BA
tetradic
#BABE54 #54BE8D #5854BE #BE5485
square
#BABE54 #54BE8D #5854BE #BE5485
split-complementary
#BABE54 #5485BE #8D54BE
monochromatic
#6B6E2A #979A3B #BABE54 #CCCF80 #DEE0AD

Accessibility & contrast

On white

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

On black

10.58
#BABE54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABE54
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABE54#FFFFFF#000000##000000
##BABE541.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #babe54;
/* rgb */ color: rgb(186, 190, 84);
/* oklch */ color: oklch(77.7% 0.129 111.0);
Tailwind
colors: {
  custom: {
    50: '#d1d188',
    500: '#babe54',
    950: '#000000',
  },
}
SCSS
$custom: #babe54;
$custom-light: #d1d188;
$custom-dark: #000000;
JSON
{
  "hex": "#babe54",
  "rgb": {
    "r": 186,
    "g": 190,
    "b": 84
  },
  "hsl": {
    "h": 62.264,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77703,
    "c": 0.12949,
    "h": 111
  },
  "luminance": 0.47906
}

Semantic roles & 50–950 ramp

primary
#BABE54
secondary
#A2A0CE
accent
#53D558
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140C
muted
#83827D

Preview Lab

Preview with #BABE54

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

Preview Lab → · Contrast checker → · Palette generator →

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