#B8F971#B8F971

#B8F971 is a very light, vivid yellow-green. Relative luminance 0.791; OKLCH L 91.1% C 0.180 H 130.5°. Best body text is #000000 at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#B8F971
RGBrgb(184, 249, 113)
HSLhsl(89, 92%, 71%)
HSVhsv(89, 55%, 98%)
CMYKcmyk(26.1%, 0%, 54.6%, 2.4%)
CIE-LABlab(91.29, -41.76, 57.94)
CIE-LCHlch(91.29, 71.42, 125.78°)
OKLaboklab(91.06% -0.1166 0.1364)
OKLCHoklch(91.06% 0.18 130.5)
XYZxyz(56.6229, 79.1325, 27.9104)
Luminance0.7913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8F971 #B271F9
analogous
#F9F671 #B8F971 #74F971
triadic
#B8F971 #71B8F9 #F971B8
tetradic
#B8F971 #71F9F6 #B271F9 #F97174
square
#B8F971 #71F9F6 #B271F9 #F97174
split-complementary
#B8F971 #7174F9 #F671F9
monochromatic
#7DE60A #9BF736 #B8F971 #D5FBAC #F0FEE2

Accessibility & contrast

On white

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

On black

16.83
#B8F971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8F971
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8F971#FFFFFF#000000##000000
##B8F9711.001.2516.8316.83
#FFFFFF1.251.0021.0021.00
#00000016.8321.001.001.00
##00000016.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8f971;
/* rgb */ color: rgb(184, 249, 113);
/* oklch */ color: oklch(91.1% 0.180 130.5);
Tailwind
colors: {
  custom: {
    50: '#d0fb9d',
    500: '#b8f971',
    950: '#000000',
  },
}
SCSS
$custom: #b8f971;
$custom-light: #d0fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8f971",
  "rgb": {
    "r": 184,
    "g": 249,
    "b": 113
  },
  "hsl": {
    "h": 88.676,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.91063,
    "c": 0.17952,
    "h": 130.5
  },
  "luminance": 0.79134
}

Semantic roles & 50–950 ramp

primary
#B8F971
secondary
#843AD4
accent
#00E66E
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #B8F971

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

Preview Lab → · Contrast checker → · Palette generator →

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