#9DB158#9DB158

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

Color values

HEX#9DB158
RGBrgb(157, 177, 88)
HSLhsl(73, 36%, 52%)
HSVhsv(73, 50%, 69%)
CMYKcmyk(11.3%, 0%, 50.3%, 30.6%)
CIE-LABlab(68.98, -20.69, 42.84)
CIE-LCHlch(68.98, 47.58, 115.78°)
OKLaboklab(72.54% -0.0585 0.1018)
OKLCHoklch(72.54% 0.117 119.9)
XYZxyz(31.3885, 39.3171, 15.1660)
Luminance0.3932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB158 #6C58B1
analogous
#B19958 #9DB158 #71B158
triadic
#9DB158 #589DB1 #B1589D
tetradic
#9DB158 #58B199 #6C58B1 #B15871
square
#9DB158 #58B199 #6C58B1 #B15871
split-complementary
#9DB158 #5871B1 #9958B1
monochromatic
#56612D #7A8B41 #9DB158 #B5C482 #CED8AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DB158#FFFFFF#000000##000000
##9DB1581.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)
#BBA850
Deuteranopia (green-blind)
#B8A95D
Tritanopia (blue-blind)
#A4A99D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9db158;
/* rgb */ color: rgb(157, 177, 88);
/* oklch */ color: oklch(72.5% 0.117 119.9);
Tailwind
colors: {
  custom: {
    50: '#bbc889',
    500: '#9db158',
    950: '#000000',
  },
}
SCSS
$custom: #9db158;
$custom-light: #bbc889;
$custom-dark: #000000;
JSON
{
  "hex": "#9db158",
  "rgb": {
    "r": 157,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 73.483,
    "s": 36.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7254,
    "c": 0.11739,
    "h": 119.9
  },
  "luminance": 0.39317
}

Semantic roles & 50–950 ramp

primary
#9DB158
secondary
#A89FC6
accent
#5BCC75
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#12130C
muted
#81827D

Preview Lab

Preview with #9DB158

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

Preview Lab → · Contrast checker → · Palette generator →

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