#B9F971#B9F971

#B9F971 is a very light, vivid yellow-green. Relative luminance 0.793; OKLCH L 91.1% C 0.179 H 130.3°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#B9F971
RGBrgb(185, 249, 113)
HSLhsl(88, 92%, 71%)
HSVhsv(88, 55%, 98%)
CMYKcmyk(25.7%, 0%, 54.6%, 2.4%)
CIE-LABlab(91.35, -41.41, 58.02)
CIE-LCHlch(91.35, 71.28, 125.51°)
OKLaboklab(91.12% -0.1157 0.1366)
OKLCHoklch(91.12% 0.179 130.3)
XYZxyz(56.8633, 79.2565, 27.9217)
Luminance0.7926 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9F971 #B171F9
analogous
#F9F571 #B9F971 #75F971
triadic
#B9F971 #71B9F9 #F971B9
tetradic
#B9F971 #71F9F5 #B171F9 #F97175
square
#B9F971 #71F9F5 #B171F9 #F97175
split-complementary
#B9F971 #7175F9 #F571F9
monochromatic
#7EE60A #9CF736 #B9F971 #D6FBAC #F1FEE2

Accessibility & contrast

On white

1.25
#B9F971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.85
#B9F971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9F971
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9F971#FFFFFF#000000##000000
##B9F9711.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE964
Deuteranopia (green-blind)
#FAE57A
Tritanopia (blue-blind)
#BDF0DB
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #b9f971;
/* rgb */ color: rgb(185, 249, 113);
/* oklch */ color: oklch(91.1% 0.179 130.3);
Tailwind
colors: {
  custom: {
    50: '#d1fb9d',
    500: '#b9f971',
    950: '#000000',
  },
}
SCSS
$custom: #b9f971;
$custom-light: #d1fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9f971",
  "rgb": {
    "r": 185,
    "g": 249,
    "b": 113
  },
  "hsl": {
    "h": 88.235,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.91123,
    "c": 0.17904,
    "h": 130.3
  },
  "luminance": 0.79258
}

Semantic roles & 50–950 ramp

primary
#B9F971
secondary
#833AD4
accent
#00E66C
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #B9F971

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

Preview Lab → · Contrast checker → · Palette generator →

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