#9DB151#9DB151

#9DB151 is a light, vivid yellow-green. Relative luminance 0.392; OKLCH L 72.5% C 0.124 H 119.4°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#9DB151
RGBrgb(157, 177, 81)
HSLhsl(73, 38%, 51%)
HSVhsv(73, 54%, 69%)
CMYKcmyk(11.3%, 0%, 54.2%, 30.6%)
CIE-LABlab(68.90, -21.36, 46.13)
CIE-LCHlch(68.90, 50.84, 114.85°)
OKLaboklab(72.45% -0.061 0.1083)
OKLCHoklch(72.45% 0.124 119.4)
XYZxyz(31.1123, 39.2066, 13.7116)
Luminance0.3921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB151 #6551B1
analogous
#B19551 #9DB151 #6DB151
triadic
#9DB151 #519DB1 #B1519D
tetradic
#9DB151 #51B195 #6551B1 #B1516D
square
#9DB151 #51B195 #6551B1 #B1516D
split-complementary
#9DB151 #516DB1 #9551B1
monochromatic
#535E2A #78883D #9DB151 #B5C47B #CDD7A6

Accessibility & contrast

On white

2.38
#9DB151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#9DB151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB151
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB151#FFFFFF#000000##000000
##9DB1511.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9db151;
/* rgb */ color: rgb(157, 177, 81);
/* oklch */ color: oklch(72.5% 0.124 119.4);
Tailwind
colors: {
  custom: {
    50: '#bcc885',
    500: '#9db151',
    950: '#000000',
  },
}
SCSS
$custom: #9db151;
$custom-light: #bcc885;
$custom-dark: #000000;
JSON
{
  "hex": "#9db151",
  "rgb": {
    "r": 157,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 72.5,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72451,
    "c": 0.12432,
    "h": 119.4
  },
  "luminance": 0.39206
}

Semantic roles & 50–950 ramp

primary
#9DB151
secondary
#A29AC4
accent
#5ACE72
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #9DB151

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

Preview Lab → · Contrast checker → · Palette generator →

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