#9DB531#9DB531

#9DB531 is a light, vivid yellow-green. Relative luminance 0.404; OKLCH L 73.1% C 0.154 H 119.5°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#9DB531
RGBrgb(157, 181, 49)
HSLhsl(71, 57%, 45%)
HSVhsv(71, 73%, 71%)
CMYKcmyk(13.3%, 0%, 72.9%, 29%)
CIE-LABlab(69.78, -25.63, 60.52)
CIE-LCHlch(69.78, 65.73, 112.95°)
OKLaboklab(73.07% -0.076 0.1344)
OKLCHoklch(73.07% 0.154 119.5)
XYZxyz(30.9835, 40.4378, 9.0782)
Luminance0.4044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB531 #4931B5
analogous
#B58B31 #9DB531 #5BB531
triadic
#9DB531 #319DB5 #B5319D
tetradic
#9DB531 #31B58B #4931B5 #B5315B
square
#9DB531 #31B58B #4931B5 #B5315B
split-complementary
#9DB531 #315BB5 #8B31B5
monochromatic
#495517 #738524 #9DB531 #BAD053 #CDDD83

Accessibility & contrast

On white

2.31
#9DB531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#9DB531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB531
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB531#FFFFFF#000000##000000
##9DB5311.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB17
Deuteranopia (green-blind)
#BEAB3C
Tritanopia (blue-blind)
#A6AB9C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9db531;
/* rgb */ color: rgb(157, 181, 49);
/* oklch */ color: oklch(73.1% 0.154 119.5);
Tailwind
colors: {
  custom: {
    50: '#bdcb72',
    500: '#9db531',
    950: '#000000',
  },
}
SCSS
$custom: #9db531;
$custom-light: #bdcb72;
$custom-dark: #000000;
JSON
{
  "hex": "#9db531",
  "rgb": {
    "r": 157,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 70.909,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73072,
    "c": 0.15445,
    "h": 119.5
  },
  "luminance": 0.40438
}

Semantic roles & 50–950 ramp

primary
#9DB531
secondary
#897BC7
accent
#47E163
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9DB531

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

Preview Lab → · Contrast checker → · Palette generator →

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