#9DB540#9DB540

#9DB540 is a light, vivid yellow-green. Relative luminance 0.406; OKLCH L 73.2% C 0.144 H 120.0°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#9DB540
RGBrgb(157, 181, 64)
HSLhsl(72, 48%, 48%)
HSVhsv(72, 65%, 71%)
CMYKcmyk(13.3%, 0%, 64.6%, 29%)
CIE-LABlab(69.89, -24.71, 54.84)
CIE-LCHlch(69.89, 60.15, 114.26°)
OKLaboklab(73.19% -0.0721 0.1248)
OKLCHoklch(73.19% 0.144 120)
XYZxyz(31.3544, 40.5861, 11.0316)
Luminance0.4059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB540 #5840B5
analogous
#B59240 #9DB540 #62B540
triadic
#9DB540 #409DB5 #B5409D
tetradic
#9DB540 #40B592 #5840B5 #B54062
square
#9DB540 #40B592 #5840B5 #B54062
split-complementary
#9DB540 #4062B5 #9240B5
monochromatic
#4F5B20 #768830 #9DB540 #B6CA68 #CCDA96

Accessibility & contrast

On white

2.30
#9DB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#9DB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB540
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB540#FFFFFF#000000##000000
##9DB5401.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB31
Deuteranopia (green-blind)
#BDAB48
Tritanopia (blue-blind)
#A5AC9D
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #9db540;
/* rgb */ color: rgb(157, 181, 64);
/* oklch */ color: oklch(73.2% 0.144 120.0);
Tailwind
colors: {
  custom: {
    50: '#bdcb7b',
    500: '#9db540',
    950: '#000000',
  },
}
SCSS
$custom: #9db540;
$custom-light: #bdcb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#9db540",
  "rgb": {
    "r": 157,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 72.308,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7319,
    "c": 0.14414,
    "h": 120
  },
  "luminance": 0.40586
}

Semantic roles & 50–950 ramp

primary
#9DB540
secondary
#978BC5
accent
#50D76C
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9DB540

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

Preview Lab → · Contrast checker → · Palette generator →

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