#9EB271#9EB271

#9EB271 is a light, moderate yellow-green. Relative luminance 0.403; OKLCH L 73.2% C 0.091 H 122.6°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#9EB271
RGBrgb(158, 178, 113)
HSLhsl(78, 30%, 57%)
HSVhsv(78, 37%, 70%)
CMYKcmyk(11.2%, 0%, 36.5%, 30.2%)
CIE-LABlab(69.68, -17.90, 30.98)
CIE-LCHlch(69.68, 35.78, 120.02°)
OKLaboklab(73.24% -0.0488 0.0765)
OKLCHoklch(73.24% 0.091 122.6)
XYZxyz(33.0014, 40.3021, 21.6601)
Luminance0.4030 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB271 #8571B2
analogous
#B2A671 #9EB271 #7EB271
triadic
#9EB271 #719EB2 #B2719E
tetradic
#9EB271 #71B2A6 #8571B2 #B2717E
square
#9EB271 #71B2A6 #8571B2 #B2717E
split-complementary
#9EB271 #717EB2 #A671B2
monochromatic
#5E6D3B #809551 #9EB271 #B9C899 #D4DDC0

Accessibility & contrast

On white

2.32
#9EB271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#9EB271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB271
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB271#FFFFFF#000000##000000
##9EB2711.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AB6C
Deuteranopia (green-blind)
#B7AA74
Tritanopia (blue-blind)
#A3ACA2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9eb271;
/* rgb */ color: rgb(158, 178, 113);
/* oklch */ color: oklch(73.2% 0.091 122.6);
Tailwind
colors: {
  custom: {
    50: '#bbc99a',
    500: '#9eb271',
    950: '#000000',
  },
}
SCSS
$custom: #9eb271;
$custom-light: #bbc99a;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb271",
  "rgb": {
    "r": 158,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 78.462,
    "s": 29.68,
    "l": 57.059
  },
  "oklch": {
    "l": 0.73236,
    "c": 0.09075,
    "h": 122.6
  },
  "luminance": 0.40302
}

Semantic roles & 50–950 ramp

primary
#9EB271
secondary
#BAB2CD
accent
#62C681
background
#FBFCF9
surface
#F6F8F2
border
#D0D1CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #9EB271

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

Preview Lab → · Contrast checker → · Palette generator →

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