#9EAF5B#9EAF5B

#9EAF5B is a light, moderate yellow-green. Relative luminance 0.387; OKLCH L 72.2% C 0.111 H 118.7°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#9EAF5B
RGBrgb(158, 175, 91)
HSLhsl(72, 34%, 52%)
HSVhsv(72, 48%, 69%)
CMYKcmyk(9.7%, 0%, 48%, 31.4%)
CIE-LABlab(68.52, -18.97, 40.82)
CIE-LCHlch(68.52, 45.02, 114.92°)
OKLaboklab(72.2% -0.0534 0.0976)
OKLCHoklch(72.2% 0.111 118.7)
XYZxyz(31.3191, 38.6846, 15.7124)
Luminance0.3868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAF5B #6C5BAF
analogous
#AF965B #9EAF5B #74AF5B
triadic
#9EAF5B #5B9EAF #AF5B9E
tetradic
#9EAF5B #5BAF96 #6C5BAF #AF5B74
square
#9EAF5B #5BAF96 #6C5BAF #AF5B74
split-complementary
#9EAF5B #5B74AF #965BAF
monochromatic
#57612F #7B8A43 #9EAF5B #B6C384 #CFD7AD

Accessibility & contrast

On white

2.40
#9EAF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#9EAF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAF5B
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAF5B#FFFFFF#000000##000000
##9EAF5B1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A754
Deuteranopia (green-blind)
#B7A860
Tritanopia (blue-blind)
#A5A79B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9eaf5b;
/* rgb */ color: rgb(158, 175, 91);
/* oklch */ color: oklch(72.2% 0.111 118.7);
Tailwind
colors: {
  custom: {
    50: '#bcc68b',
    500: '#9eaf5b',
    950: '#000000',
  },
}
SCSS
$custom: #9eaf5b;
$custom-light: #bcc68b;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaf5b",
  "rgb": {
    "r": 158,
    "g": 175,
    "b": 91
  },
  "hsl": {
    "h": 72.143,
    "s": 34.426,
    "l": 52.157
  },
  "oklch": {
    "l": 0.72204,
    "c": 0.11123,
    "h": 118.7
  },
  "luminance": 0.38684
}

Semantic roles & 50–950 ramp

primary
#9EAF5B
secondary
#A8A1C5
accent
#5DCB73
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12130C
muted
#81827D

Preview Lab

Preview with #9EAF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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