#9DB731#9DB731

#9DB731 is a light, vivid yellow-green. Relative luminance 0.413; OKLCH L 73.5% C 0.157 H 120.1°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#9DB731
RGBrgb(157, 183, 49)
HSLhsl(72, 58%, 45%)
HSVhsv(72, 73%, 72%)
CMYKcmyk(14.2%, 0%, 73.2%, 28.2%)
CIE-LABlab(70.36, -26.60, 61.08)
CIE-LCHlch(70.36, 66.62, 113.53°)
OKLaboklab(73.54% -0.0787 0.1356)
OKLCHoklch(73.54% 0.157 120.1)
XYZxyz(31.3931, 41.2569, 9.2147)
Luminance0.4126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB731 #4B31B7
analogous
#B78E31 #9DB731 #5AB731
triadic
#9DB731 #319DB7 #B7319D
tetradic
#9DB731 #31B78E #4B31B7 #B7315A
square
#9DB731 #31B78E #4B31B7 #B7315A
split-complementary
#9DB731 #315AB7 #8E31B7
monochromatic
#4A5617 #748724 #9DB731 #B9D154 #CDDE84

Accessibility & contrast

On white

2.27
#9DB731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#9DB731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB731
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB731#FFFFFF#000000##000000
##9DB7311.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC16
Deuteranopia (green-blind)
#C0AC3D
Tritanopia (blue-blind)
#A6AD9D
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #9db731;
/* rgb */ color: rgb(157, 183, 49);
/* oklch */ color: oklch(73.5% 0.157 120.1);
Tailwind
colors: {
  custom: {
    50: '#bdcc73',
    500: '#9db731',
    950: '#000000',
  },
}
SCSS
$custom: #9db731;
$custom-light: #bdcc73;
$custom-dark: #000000;
JSON
{
  "hex": "#9db731",
  "rgb": {
    "r": 157,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 71.642,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73536,
    "c": 0.1568,
    "h": 120.1
  },
  "luminance": 0.41257
}

Semantic roles & 50–950 ramp

primary
#9DB731
secondary
#8B7CC8
accent
#47E165
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9DB731

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

Preview Lab → · Contrast checker → · Palette generator →

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