#B9F978#B9F978

#B9F978 is a very light, vivid yellow-green. Relative luminance 0.794; OKLCH L 91.2% C 0.173 H 131.0°. Best body text is #000000 at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#B9F978
RGBrgb(185, 249, 120)
HSLhsl(90, 91%, 72%)
HSVhsv(90, 52%, 98%)
CMYKcmyk(25.7%, 0%, 51.8%, 2.4%)
CIE-LABlab(91.42, -40.72, 54.96)
CIE-LCHlch(91.42, 68.40, 126.53°)
OKLaboklab(91.21% -0.1133 0.1305)
OKLCHoklch(91.21% 0.173 131)
XYZxyz(57.2727, 79.4203, 30.0778)
Luminance0.7942 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9F978 #B878F9
analogous
#F9F878 #B9F978 #79F978
triadic
#B9F978 #78B9F9 #F978B9
tetradic
#B9F978 #78F9F8 #B878F9 #F97879
square
#B9F978 #78F9F8 #B878F9 #F97879
split-complementary
#B9F978 #7879F9 #F878F9
monochromatic
#7CEC0A #9BF63D #B9F978 #D7FCB3 #F0FEE2

Accessibility & contrast

On white

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

On black

16.88
#B9F978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9F978
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9F978#FFFFFF#000000##000000
##B9F9781.001.2416.8816.88
#FFFFFF1.241.0021.0021.00
#00000016.8821.001.001.00
##00000016.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9f978;
/* rgb */ color: rgb(185, 249, 120);
/* oklch */ color: oklch(91.2% 0.173 131.0);
Tailwind
colors: {
  custom: {
    50: '#d1fba2',
    500: '#b9f978',
    950: '#000000',
  },
}
SCSS
$custom: #b9f978;
$custom-light: #d1fba2;
$custom-dark: #000000;
JSON
{
  "hex": "#b9f978",
  "rgb": {
    "r": 185,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 89.767,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.91207,
    "c": 0.17284,
    "h": 131
  },
  "luminance": 0.79422
}

Semantic roles & 50–950 ramp

primary
#B9F978
secondary
#8A40D5
accent
#00E672
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #B9F978

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

Preview Lab → · Contrast checker → · Palette generator →

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