#BABF2D#BABF2D

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

Color values

HEX#BABF2D
RGBrgb(186, 191, 45)
HSLhsl(62, 62%, 46%)
HSVhsv(62, 76%, 75%)
CMYKcmyk(2.6%, 0%, 76.4%, 25.1%)
CIE-LABlab(74.76, -18.52, 67.30)
CIE-LCHlch(74.76, 69.80, 105.39°)
OKLaboklab(77.6% -0.0582 0.1471)
OKLCHoklch(77.6% 0.158 111.6)
XYZxyz(39.3555, 47.8912, 9.6529)
Luminance0.4789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABF2D #322DBF
analogous
#BF7B2D #BABF2D #71BF2D
triadic
#BABF2D #2DBABF #BF2DBA
tetradic
#BABF2D #2DBF7B #322DBF #BF2D71
square
#BABF2D #2DBF7B #322DBF #BF2D71
split-complementary
#BABF2D #2D71BF #7B2DBF
monochromatic
#5A5C16 #8A8D21 #BABF2D #D2D653 #DFE284

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABF2D#FFFFFF#000000##000000
##BABF2D1.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)
#CEB602
Deuteranopia (green-blind)
#CFBA3A
Tritanopia (blue-blind)
#C7B3A4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #babf2d;
/* rgb */ color: rgb(186, 191, 45);
/* oklch */ color: oklch(77.6% 0.158 111.6);
Tailwind
colors: {
  custom: {
    50: '#d3d272',
    500: '#babf2d',
    950: '#000000',
  },
}
SCSS
$custom: #babf2d;
$custom-light: #d3d272;
$custom-dark: #000000;
JSON
{
  "hex": "#babf2d",
  "rgb": {
    "r": 186,
    "g": 191,
    "b": 45
  },
  "hsl": {
    "h": 62.055,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.77603,
    "c": 0.15824,
    "h": 111.6
  },
  "luminance": 0.4789
}

Semantic roles & 50–950 ramp

primary
#BABF2D
secondary
#7F7CCB
accent
#43E548
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #BABF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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