#BABF39#BABF39

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

Color values

HEX#BABF39
RGBrgb(186, 191, 57)
HSLhsl(62, 54%, 49%)
HSVhsv(62, 70%, 75%)
CMYKcmyk(2.6%, 0%, 70.2%, 25.1%)
CIE-LABlab(74.82, -17.97, 63.31)
CIE-LCHlch(74.82, 65.81, 105.85°)
OKLaboklab(77.68% -0.0556 0.1408)
OKLCHoklch(77.68% 0.151 111.6)
XYZxyz(39.6203, 47.9971, 11.0474)
Luminance0.4800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABF39 #3E39BF
analogous
#BF8139 #BABF39 #77BF39
triadic
#BABF39 #39BABF #BF39BA
tetradic
#BABF39 #39BF81 #3E39BF #BF3977
square
#BABF39 #39BF81 #3E39BF #BF3977
split-complementary
#BABF39 #3977BF #8139BF
monochromatic
#5E611D #8C902B #BABF39 #CDD164 #DCDF93

Accessibility & contrast

On white

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

On black

10.60
#BABF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABF39
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABF39#FFFFFF#000000##000000
##BABF391.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB622
Deuteranopia (green-blind)
#CEBA43
Tritanopia (blue-blind)
#C7B3A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #babf39;
/* rgb */ color: rgb(186, 191, 57);
/* oklch */ color: oklch(77.7% 0.151 111.6);
Tailwind
colors: {
  custom: {
    50: '#d2d278',
    500: '#babf39',
    950: '#000000',
  },
}
SCSS
$custom: #babf39;
$custom-light: #d2d278;
$custom-dark: #000000;
JSON
{
  "hex": "#babf39",
  "rgb": {
    "r": 186,
    "g": 191,
    "b": 57
  },
  "hsl": {
    "h": 62.239,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.77678,
    "c": 0.1514,
    "h": 111.6
  },
  "luminance": 0.47996
}

Semantic roles & 50–950 ramp

primary
#BABF39
secondary
#8C8ACA
accent
#4ADD50
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #BABF39

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

Preview Lab → · Contrast checker → · Palette generator →

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