#B9F97A#B9F97A

#B9F97A is a very light, vivid yellow-green. Relative luminance 0.795; OKLCH L 91.2% C 0.171 H 131.2°. Best body text is #000000 at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#B9F97A
RGBrgb(185, 249, 122)
HSLhsl(90, 91%, 73%)
HSVhsv(90, 51%, 98%)
CMYKcmyk(25.7%, 0%, 51%, 2.4%)
CIE-LABlab(91.45, -40.51, 54.07)
CIE-LCHlch(91.45, 67.56, 126.84°)
OKLaboklab(91.23% -0.1126 0.1287)
OKLCHoklch(91.23% 0.171 131.2)
XYZxyz(57.3954, 79.4693, 30.7237)
Luminance0.7947 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9F97A #BA7AF9
analogous
#F9F97A #B9F97A #7AF97A
triadic
#B9F97A #7AB9F9 #F97AB9
tetradic
#B9F97A #7AF9F9 #BA7AF9 #F97A7A
square
#B9F97A #7AF9F9 #BA7AF9 #F97A7A
split-complementary
#B9F97A #7A7AF9 #F97AF9
monochromatic
#7BEE0B #9AF63F #B9F97A #D8FCB5 #F0FEE2

Accessibility & contrast

On white

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

On black

16.89
#B9F97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9F97A
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9F97A#FFFFFF#000000##000000
##B9F97A1.001.2416.8916.89
#FFFFFF1.241.0021.0021.00
#00000016.8921.001.001.00
##00000016.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9f97a;
/* rgb */ color: rgb(185, 249, 122);
/* oklch */ color: oklch(91.2% 0.171 131.2);
Tailwind
colors: {
  custom: {
    50: '#d1fba3',
    500: '#b9f97a',
    950: '#000000',
  },
}
SCSS
$custom: #b9f97a;
$custom-light: #d1fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#b9f97a",
  "rgb": {
    "r": 185,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 90.236,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.91232,
    "c": 0.17101,
    "h": 131.2
  },
  "luminance": 0.79471
}

Semantic roles & 50–950 ramp

primary
#B9F97A
secondary
#8C42D5
accent
#00E674
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #B9F97A

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

Preview Lab → · Contrast checker → · Palette generator →

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