#9DB152#9DB152

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

Color values

HEX#9DB152
RGBrgb(157, 177, 82)
HSLhsl(73, 38%, 51%)
HSVhsv(73, 54%, 69%)
CMYKcmyk(11.3%, 0%, 53.7%, 30.6%)
CIE-LABlab(68.91, -21.27, 45.67)
CIE-LCHlch(68.91, 50.38, 114.97°)
OKLaboklab(72.46% -0.0607 0.1074)
OKLCHoklch(72.46% 0.123 119.5)
XYZxyz(31.1501, 39.2217, 13.9105)
Luminance0.3922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB152 #6652B1
analogous
#B19652 #9DB152 #6DB152
triadic
#9DB152 #529DB1 #B1529D
tetradic
#9DB152 #52B196 #6652B1 #B1526D
square
#9DB152 #52B196 #6652B1 #B1526D
split-complementary
#9DB152 #526DB1 #9652B1
monochromatic
#535E2A #79883D #9DB152 #B5C47C #CDD7A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DB152#FFFFFF#000000##000000
##9DB1521.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9db152;
/* rgb */ color: rgb(157, 177, 82);
/* oklch */ color: oklch(72.5% 0.123 119.5);
Tailwind
colors: {
  custom: {
    50: '#bcc885',
    500: '#9db152',
    950: '#000000',
  },
}
SCSS
$custom: #9db152;
$custom-light: #bcc885;
$custom-dark: #000000;
JSON
{
  "hex": "#9db152",
  "rgb": {
    "r": 157,
    "g": 177,
    "b": 82
  },
  "hsl": {
    "h": 72.632,
    "s": 37.849,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72463,
    "c": 0.12336,
    "h": 119.5
  },
  "luminance": 0.39222
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9DB152

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

Preview Lab → · Contrast checker → · Palette generator →

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