#B8F97A#B8F97A

#B8F97A is a very light, vivid yellow-green. Relative luminance 0.793; OKLCH L 91.2% C 0.172 H 131.4°. Best body text is #000000 at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#B8F97A
RGBrgb(184, 249, 122)
HSLhsl(91, 91%, 73%)
HSVhsv(91, 51%, 98%)
CMYKcmyk(26.1%, 0%, 51%, 2.4%)
CIE-LABlab(91.39, -40.86, 53.99)
CIE-LCHlch(91.39, 67.71, 127.12°)
OKLaboklab(91.17% -0.1135 0.1286)
OKLCHoklch(91.17% 0.172 131.4)
XYZxyz(57.1549, 79.3453, 30.7125)
Luminance0.7935 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8F97A #BB7AF9
analogous
#F7F97A #B8F97A #7AF97C
triadic
#B8F97A #7AB8F9 #F97AB8
tetradic
#B8F97A #7AF7F9 #BB7AF9 #F97C7A
square
#B8F97A #7AF7F9 #BB7AF9 #F97C7A
split-complementary
#B8F97A #7C7AF9 #F97AF7
monochromatic
#7AEE0B #99F63F #B8F97A #D7FCB5 #EFFEE2

Accessibility & contrast

On white

1.24
#B8F97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.87
#B8F97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8F97A
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8F97A#FFFFFF#000000##000000
##B8F97A1.001.2416.8716.87
#FFFFFF1.241.0021.0021.00
#00000016.8721.001.001.00
##00000016.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6E
Deuteranopia (green-blind)
#F9E582
Tritanopia (blue-blind)
#BBF0DC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #b8f97a;
/* rgb */ color: rgb(184, 249, 122);
/* oklch */ color: oklch(91.2% 0.172 131.4);
Tailwind
colors: {
  custom: {
    50: '#d0fba3',
    500: '#b8f97a',
    950: '#000000',
  },
}
SCSS
$custom: #b8f97a;
$custom-light: #d0fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#b8f97a",
  "rgb": {
    "r": 184,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 90.709,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.91172,
    "c": 0.1715,
    "h": 131.4
  },
  "luminance": 0.79347
}

Semantic roles & 50–950 ramp

primary
#B8F97A
secondary
#8D42D5
accent
#00E675
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #B8F97A

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

Preview Lab → · Contrast checker → · Palette generator →

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