#9EB157#9EB157

#9EB157 is a light, moderate yellow-green. Relative luminance 0.394; OKLCH L 72.6% C 0.118 H 119.3°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#9EB157
RGBrgb(158, 177, 87)
HSLhsl(73, 37%, 52%)
HSVhsv(73, 51%, 69%)
CMYKcmyk(10.7%, 0%, 50.8%, 30.6%)
CIE-LABlab(69.04, -20.38, 43.42)
CIE-LCHlch(69.04, 47.97, 115.15°)
OKLaboklab(72.6% -0.0578 0.103)
OKLCHoklch(72.6% 0.118 119.3)
XYZxyz(31.5433, 39.4017, 14.9585)
Luminance0.3940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB157 #6A57B1
analogous
#B19757 #9EB157 #71B157
triadic
#9EB157 #579EB1 #B1579E
tetradic
#9EB157 #57B197 #6A57B1 #B15771
square
#9EB157 #57B197 #6A57B1 #B15771
split-complementary
#9EB157 #5771B1 #9757B1
monochromatic
#56612D #7B8A40 #9EB157 #B6C481 #CED8AB

Accessibility & contrast

On white

2.36
#9EB157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#9EB157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB157
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB157#FFFFFF#000000##000000
##9EB1571.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA94F
Deuteranopia (green-blind)
#B9A95C
Tritanopia (blue-blind)
#A5A99C
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9eb157;
/* rgb */ color: rgb(158, 177, 87);
/* oklch */ color: oklch(72.6% 0.118 119.3);
Tailwind
colors: {
  custom: {
    50: '#bcc889',
    500: '#9eb157',
    950: '#000000',
  },
}
SCSS
$custom: #9eb157;
$custom-light: #bcc889;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb157",
  "rgb": {
    "r": 158,
    "g": 177,
    "b": 87
  },
  "hsl": {
    "h": 72.667,
    "s": 36.585,
    "l": 51.765
  },
  "oklch": {
    "l": 0.72604,
    "c": 0.11806,
    "h": 119.3
  },
  "luminance": 0.39402
}

Semantic roles & 50–950 ramp

primary
#9EB157
secondary
#A69EC6
accent
#5BCD73
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12130C
muted
#81827D

Preview Lab

Preview with #9EB157

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

Preview Lab → · Contrast checker → · Palette generator →

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