#BABF4E#BABF4E

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

Color values

HEX#BABF4E
RGBrgb(186, 191, 78)
HSLhsl(63, 47%, 53%)
HSVhsv(63, 59%, 75%)
CMYKcmyk(2.6%, 0%, 59.2%, 25.1%)
CIE-LABlab(74.98, -16.68, 54.97)
CIE-LCHlch(74.98, 57.45, 106.87°)
OKLaboklab(77.86% -0.0498 0.1264)
OKLCHoklch(77.86% 0.136 111.5)
XYZxyz(40.2567, 48.2517, 14.3991)
Luminance0.4825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABF4E #534EBF
analogous
#BF8C4E #BABF4E #81BF4E
triadic
#BABF4E #4EBABF #BF4EBA
tetradic
#BABF4E #4EBF8C #534EBF #BF4E81
square
#BABF4E #4EBF8C #534EBF #BF4E81
split-complementary
#BABF4E #4E81BF #8C4EBF
monochromatic
#696C27 #949937 #BABF4E #CCCF7B #DDE0A8

Accessibility & contrast

On white

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

On black

10.65
#BABF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABF4E
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABF4E#FFFFFF#000000##000000
##BABF4E1.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB741
Deuteranopia (green-blind)
#CDBA55
Tritanopia (blue-blind)
#C6B4A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #babf4e;
/* rgb */ color: rgb(186, 191, 78);
/* oklch */ color: oklch(77.9% 0.136 111.5);
Tailwind
colors: {
  custom: {
    50: '#d1d284',
    500: '#babf4e',
    950: '#000000',
  },
}
SCSS
$custom: #babf4e;
$custom-light: #d1d284;
$custom-dark: #000000;
JSON
{
  "hex": "#babf4e",
  "rgb": {
    "r": 186,
    "g": 191,
    "b": 78
  },
  "hsl": {
    "h": 62.655,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77858,
    "c": 0.13585,
    "h": 111.5
  },
  "luminance": 0.48251
}

Semantic roles & 50–950 ramp

primary
#BABF4E
secondary
#9E9CCD
accent
#51D757
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #BABF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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