#9EB151#9EB151

#9EB151 is a light, vivid yellow-green. Relative luminance 0.393; OKLCH L 72.5% C 0.124 H 118.9°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#9EB151
RGBrgb(158, 177, 81)
HSLhsl(72, 38%, 51%)
HSVhsv(72, 54%, 69%)
CMYKcmyk(10.7%, 0%, 54.2%, 30.6%)
CIE-LABlab(68.97, -20.95, 46.24)
CIE-LCHlch(68.97, 50.76, 114.38°)
OKLaboklab(72.53% -0.0599 0.1085)
OKLCHoklch(72.53% 0.124 118.9)
XYZxyz(31.3083, 39.3076, 13.7208)
Luminance0.3931 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB151 #6451B1
analogous
#B19451 #9EB151 #6EB151
triadic
#9EB151 #519EB1 #B1519E
tetradic
#9EB151 #51B194 #6451B1 #B1516E
square
#9EB151 #51B194 #6451B1 #B1516E
split-complementary
#9EB151 #516EB1 #9451B1
monochromatic
#535E2A #79883D #9EB151 #B6C47B #CDD7A6

Accessibility & contrast

On white

2.37
#9EB151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#9EB151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB151
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB151#FFFFFF#000000##000000
##9EB1511.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA848
Deuteranopia (green-blind)
#B9A957
Tritanopia (blue-blind)
#A6A99C
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9eb151;
/* rgb */ color: rgb(158, 177, 81);
/* oklch */ color: oklch(72.5% 0.124 118.9);
Tailwind
colors: {
  custom: {
    50: '#bdc885',
    500: '#9eb151',
    950: '#000000',
  },
}
SCSS
$custom: #9eb151;
$custom-light: #bdc885;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb151",
  "rgb": {
    "r": 158,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 71.875,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72528,
    "c": 0.12397,
    "h": 118.9
  },
  "luminance": 0.39307
}

Semantic roles & 50–950 ramp

primary
#9EB151
secondary
#A29AC4
accent
#5ACE71
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #9EB151

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

Preview Lab → · Contrast checker → · Palette generator →

#9EB151 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva