#9DB157#9DB157

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

Color values

HEX#9DB157
RGBrgb(157, 177, 87)
HSLhsl(73, 37%, 52%)
HSVhsv(73, 51%, 69%)
CMYKcmyk(11.3%, 0%, 50.8%, 30.6%)
CIE-LABlab(68.97, -20.79, 43.32)
CIE-LCHlch(68.97, 48.05, 115.64°)
OKLaboklab(72.53% -0.0588 0.1028)
OKLCHoklch(72.53% 0.118 119.8)
XYZxyz(31.3473, 39.3006, 14.9493)
Luminance0.3930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB157 #6B57B1
analogous
#B19857 #9DB157 #70B157
triadic
#9DB157 #579DB1 #B1579D
tetradic
#9DB157 #57B198 #6B57B1 #B15770
square
#9DB157 #57B198 #6B57B1 #B15770
split-complementary
#9DB157 #5770B1 #9857B1
monochromatic
#55612D #7A8A40 #9DB157 #B5C481 #CED8AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DB157#FFFFFF#000000##000000
##9DB1571.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)
#BBA84F
Deuteranopia (green-blind)
#B8A95C
Tritanopia (blue-blind)
#A4A99C
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9db157;
/* rgb */ color: rgb(157, 177, 87);
/* oklch */ color: oklch(72.5% 0.118 119.8);
Tailwind
colors: {
  custom: {
    50: '#bcc889',
    500: '#9db157',
    950: '#000000',
  },
}
SCSS
$custom: #9db157;
$custom-light: #bcc889;
$custom-dark: #000000;
JSON
{
  "hex": "#9db157",
  "rgb": {
    "r": 157,
    "g": 177,
    "b": 87
  },
  "hsl": {
    "h": 73.333,
    "s": 36.585,
    "l": 51.765
  },
  "oklch": {
    "l": 0.72527,
    "c": 0.11841,
    "h": 119.8
  },
  "luminance": 0.393
}

Semantic roles & 50–950 ramp

primary
#9DB157
secondary
#A79EC6
accent
#5BCD74
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12130C
muted
#81827D

Preview Lab

Preview with #9DB157

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

Preview Lab → · Contrast checker → · Palette generator →

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