#BABF2B#BABF2B

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

Color values

HEX#BABF2B
RGBrgb(186, 191, 43)
HSLhsl(62, 63%, 46%)
HSVhsv(62, 77%, 75%)
CMYKcmyk(2.6%, 0%, 77.5%, 25.1%)
CIE-LABlab(74.75, -18.60, 67.89)
CIE-LCHlch(74.75, 70.40, 105.32°)
OKLaboklab(77.59% -0.0586 0.148)
OKLCHoklch(77.59% 0.159 111.6)
XYZxyz(39.3179, 47.8762, 9.4549)
Luminance0.4788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABF2B #302BBF
analogous
#BF7A2B #BABF2B #70BF2B
triadic
#BABF2B #2BBABF #BF2BBA
tetradic
#BABF2B #2BBF7A #302BBF #BF2B70
square
#BABF2B #2BBF7A #302BBF #BF2B70
split-complementary
#BABF2B #2B70BF #7A2BBF
monochromatic
#595B15 #898D20 #BABF2B #D3D850 #DFE382

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABF2B#FFFFFF#000000##000000
##BABF2B1.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)
#CEB600
Deuteranopia (green-blind)
#CFBA38
Tritanopia (blue-blind)
#C7B3A4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #babf2b;
/* rgb */ color: rgb(186, 191, 43);
/* oklch */ color: oklch(77.6% 0.159 111.6);
Tailwind
colors: {
  custom: {
    50: '#d3d271',
    500: '#babf2b',
    950: '#000000',
  },
}
SCSS
$custom: #babf2b;
$custom-light: #d3d271;
$custom-dark: #000000;
JSON
{
  "hex": "#babf2b",
  "rgb": {
    "r": 186,
    "g": 191,
    "b": 43
  },
  "hsl": {
    "h": 62.027,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.77593,
    "c": 0.15923,
    "h": 111.6
  },
  "luminance": 0.47875
}

Semantic roles & 50–950 ramp

primary
#BABF2B
secondary
#7D7ACC
accent
#42E647
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #BABF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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