#B9E371#B9E371

#B9E371 is a very light, vivid yellow-green. Relative luminance 0.664; OKLCH L 86.2% C 0.150 H 126.1°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#B9E371
RGBrgb(185, 227, 113)
HSLhsl(82, 67%, 67%)
HSVhsv(82, 50%, 89%)
CMYKcmyk(18.5%, 0%, 50.2%, 11%)
CIE-LABlab(85.22, -31.45, 50.78)
CIE-LCHlch(85.22, 59.73, 121.77°)
OKLaboklab(86.17% -0.088 0.1209)
OKLCHoklch(86.17% 0.15 126.1)
XYZxyz(50.4572, 66.4442, 25.7863)
Luminance0.6644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9E371 #9B71E3
analogous
#E3D471 #B9E371 #80E371
triadic
#B9E371 #71B9E3 #E371B9
tetradic
#B9E371 #71E3D4 #9B71E3 #E37180
square
#B9E371 #71E3D4 #9B71E3 #E37180
split-complementary
#B9E371 #7180E3 #D471E3
monochromatic
#80B624 #A0D93E #B9E371 #D2EDA4 #EBF7D7

Accessibility & contrast

On white

1.47
#B9E371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.29
#B9E371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9E371
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9E371#FFFFFF#000000##000000
##B9E3711.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD667
Deuteranopia (green-blind)
#E7D478
Tritanopia (blue-blind)
#BFDAC9
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #b9e371;
/* rgb */ color: rgb(185, 227, 113);
/* oklch */ color: oklch(86.2% 0.150 126.1);
Tailwind
colors: {
  custom: {
    50: '#d0ec9c',
    500: '#b9e371',
    950: '#000000',
  },
}
SCSS
$custom: #b9e371;
$custom-light: #d0ec9c;
$custom-dark: #000000;
JSON
{
  "hex": "#b9e371",
  "rgb": {
    "r": 185,
    "g": 227,
    "b": 113
  },
  "hsl": {
    "h": 82.105,
    "s": 67.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.86173,
    "c": 0.14952,
    "h": 126.1
  },
  "luminance": 0.66445
}

Semantic roles & 50–950 ramp

primary
#B9E371
secondary
#6D42B6
accent
#17CF5A
background
#FEFEFC
surface
#FBFDF5
border
#D4D5CF
text
#14160E
muted
#83847F

Preview Lab

Preview with #B9E371

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

Preview Lab → · Contrast checker → · Palette generator →

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