#BABF2C#BABF2C

#BABF2C 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#BABF2C
RGBrgb(186, 191, 44)
HSLhsl(62, 63%, 46%)
HSVhsv(62, 77%, 75%)
CMYKcmyk(2.6%, 0%, 77%, 25.1%)
CIE-LABlab(74.75, -18.56, 67.60)
CIE-LCHlch(74.75, 70.10, 105.35°)
OKLaboklab(77.6% -0.0584 0.1476)
OKLCHoklch(77.6% 0.159 111.6)
XYZxyz(39.3365, 47.8836, 9.5527)
Luminance0.4788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABF2C #312CBF
analogous
#BF7A2C #BABF2C #70BF2C
triadic
#BABF2C #2CBABF #BF2CBA
tetradic
#BABF2C #2CBF7A #312CBF #BF2C70
square
#BABF2C #2CBF7A #312CBF #BF2C70
split-complementary
#BABF2C #2C70BF #7A2CBF
monochromatic
#595C15 #8A8D21 #BABF2C #D2D751 #DFE283

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABF2C#FFFFFF#000000##000000
##BABF2C1.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)
#CFBA39
Tritanopia (blue-blind)
#C7B3A4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #babf2c;
/* rgb */ color: rgb(186, 191, 44);
/* oklch */ color: oklch(77.6% 0.159 111.6);
Tailwind
colors: {
  custom: {
    50: '#d3d272',
    500: '#babf2c',
    950: '#000000',
  },
}
SCSS
$custom: #babf2c;
$custom-light: #d3d272;
$custom-dark: #000000;
JSON
{
  "hex": "#babf2c",
  "rgb": {
    "r": 186,
    "g": 191,
    "b": 44
  },
  "hsl": {
    "h": 62.041,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.77598,
    "c": 0.15874,
    "h": 111.6
  },
  "luminance": 0.47883
}

Semantic roles & 50–950 ramp

primary
#BABF2C
secondary
#7E7BCC
accent
#42E648
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #BABF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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