#9DB931#9DB931

#9DB931 is a light, vivid yellow-green. Relative luminance 0.421; OKLCH L 74.0% C 0.159 H 120.7°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#9DB931
RGBrgb(157, 185, 49)
HSLhsl(72, 58%, 46%)
HSVhsv(72, 74%, 73%)
CMYKcmyk(15.1%, 0%, 73.5%, 27.5%)
CIE-LABlab(70.93, -27.56, 61.64)
CIE-LCHlch(70.93, 67.52, 114.09°)
OKLaboklab(74% -0.0814 0.1368)
OKLCHoklch(74% 0.159 120.7)
XYZxyz(31.8085, 42.0878, 9.3532)
Luminance0.4209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB931 #4D31B9
analogous
#B99131 #9DB931 #59B931
triadic
#9DB931 #319DB9 #B9319D
tetradic
#9DB931 #31B991 #4D31B9 #B93159
square
#9DB931 #31B991 #4D31B9 #B93159
split-complementary
#9DB931 #3159B9 #9131B9
monochromatic
#4B5817 #748924 #9DB931 #B8D255 #CCDF86

Accessibility & contrast

On white

2.23
#9DB931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#9DB931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB931
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB931#FFFFFF#000000##000000
##9DB9311.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE15
Deuteranopia (green-blind)
#C1AE3D
Tritanopia (blue-blind)
#A6AF9F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9db931;
/* rgb */ color: rgb(157, 185, 49);
/* oklch */ color: oklch(74.0% 0.159 120.7);
Tailwind
colors: {
  custom: {
    50: '#bdce73',
    500: '#9db931',
    950: '#000000',
  },
}
SCSS
$custom: #9db931;
$custom-light: #bdce73;
$custom-dark: #000000;
JSON
{
  "hex": "#9db931",
  "rgb": {
    "r": 157,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 72.353,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74,
    "c": 0.15916,
    "h": 120.7
  },
  "luminance": 0.42088
}

Semantic roles & 50–950 ramp

primary
#9DB931
secondary
#8D7DC8
accent
#46E166
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9DB931

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

Preview Lab → · Contrast checker → · Palette generator →

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