#BABE52#BABE52

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

Color values

HEX#BABE52
RGBrgb(186, 190, 82)
HSLhsl(62, 45%, 53%)
HSVhsv(62, 57%, 75%)
CMYKcmyk(2.1%, 0%, 56.8%, 25.5%)
CIE-LABlab(74.75, -15.87, 52.93)
CIE-LCHlch(74.75, 55.25, 106.69°)
OKLaboklab(77.68% -0.0471 0.1225)
OKLCHoklch(77.68% 0.131 111.1)
XYZxyz(40.1872, 47.8761, 15.1050)
Luminance0.4788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABE52 #5652BE
analogous
#BE8C52 #BABE52 #84BE52
triadic
#BABE52 #52BABE #BE52BA
tetradic
#BABE52 #52BE8C #5652BE #BE5284
square
#BABE52 #52BE8C #5652BE #BE5284
split-complementary
#BABE52 #5284BE #8C52BE
monochromatic
#6A6D29 #96993A #BABE52 #CCCF7E #DDDFAB

Accessibility & contrast

On white

1.99
#BABE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABE52#FFFFFF#000000##000000
##BABE521.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB646
Deuteranopia (green-blind)
#CCB958
Tritanopia (blue-blind)
#C6B3A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #babe52;
/* rgb */ color: rgb(186, 190, 82);
/* oklch */ color: oklch(77.7% 0.131 111.1);
Tailwind
colors: {
  custom: {
    50: '#d1d186',
    500: '#babe52',
    950: '#000000',
  },
}
SCSS
$custom: #babe52;
$custom-light: #d1d186;
$custom-dark: #000000;
JSON
{
  "hex": "#babe52",
  "rgb": {
    "r": 186,
    "g": 190,
    "b": 82
  },
  "hsl": {
    "h": 62.222,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77681,
    "c": 0.13127,
    "h": 111.1
  },
  "luminance": 0.47875
}

Semantic roles & 50–950 ramp

primary
#BABE52
secondary
#A09FCD
accent
#53D558
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140B
muted
#83827C

Preview Lab

Preview with #BABE52

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

Preview Lab → · Contrast checker → · Palette generator →

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