#BABF52#BABF52

#BABF52 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 77.9% C 0.132 H 111.5°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#BABF52
RGBrgb(186, 191, 82)
HSLhsl(63, 46%, 54%)
HSVhsv(63, 57%, 75%)
CMYKcmyk(2.6%, 0%, 57.1%, 25.1%)
CIE-LABlab(75.02, -16.38, 53.23)
CIE-LCHlch(75.02, 55.69, 107.10°)
OKLaboklab(77.9% -0.0486 0.1232)
OKLCHoklch(77.9% 0.132 111.5)
XYZxyz(40.4045, 48.3108, 15.1775)
Luminance0.4831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABF52 #5752BF
analogous
#BF8D52 #BABF52 #83BF52
triadic
#BABF52 #52BABF #BF52BA
tetradic
#BABF52 #52BF8D #5752BF #BF5283
square
#BABF52 #52BF8D #5752BF #BF5283
split-complementary
#BABF52 #5283BF #8D52BF
monochromatic
#6B6E29 #969B39 #BABF52 #CCD07F #DEE0AB

Accessibility & contrast

On white

1.97
#BABF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#BABF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABF52
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABF52#FFFFFF#000000##000000
##BABF521.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB746
Deuteranopia (green-blind)
#CDBA58
Tritanopia (blue-blind)
#C5B4A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #babf52;
/* rgb */ color: rgb(186, 191, 82);
/* oklch */ color: oklch(77.9% 0.132 111.5);
Tailwind
colors: {
  custom: {
    50: '#d1d286',
    500: '#babf52',
    950: '#000000',
  },
}
SCSS
$custom: #babf52;
$custom-light: #d1d286;
$custom-dark: #000000;
JSON
{
  "hex": "#babf52",
  "rgb": {
    "r": 186,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 62.752,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77899,
    "c": 0.1324,
    "h": 111.5
  },
  "luminance": 0.4831
}

Semantic roles & 50–950 ramp

primary
#BABF52
secondary
#A19FCE
accent
#52D658
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140B
muted
#83827C

Preview Lab

Preview with #BABF52

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

Preview Lab → · Contrast checker → · Palette generator →

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