#9DB538#9DB538

#9DB538 is a light, vivid yellow-green. Relative luminance 0.405; OKLCH L 73.1% C 0.150 H 119.7°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#9DB538
RGBrgb(157, 181, 56)
HSLhsl(72, 53%, 46%)
HSVhsv(72, 69%, 71%)
CMYKcmyk(13.3%, 0%, 69.1%, 29%)
CIE-LABlab(69.83, -25.23, 57.99)
CIE-LCHlch(69.83, 63.24, 113.52°)
OKLaboklab(73.12% -0.0743 0.1303)
OKLCHoklch(73.12% 0.15 119.7)
XYZxyz(31.1429, 40.5015, 9.9176)
Luminance0.4050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB538 #5038B5
analogous
#B58F38 #9DB538 #5FB538
triadic
#9DB538 #389DB5 #B5389D
tetradic
#9DB538 #38B58F #5038B5 #B5385F
square
#9DB538 #38B58F #5038B5 #B5385F
split-complementary
#9DB538 #385FB5 #8F38B5
monochromatic
#4C581B #74862A #9DB538 #B8CD5D #CCDB8C

Accessibility & contrast

On white

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

On black

9.10
#9DB538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB538
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB538#FFFFFF#000000##000000
##9DB5381.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB24
Deuteranopia (green-blind)
#BEAB42
Tritanopia (blue-blind)
#A6AB9C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #9db538;
/* rgb */ color: rgb(157, 181, 56);
/* oklch */ color: oklch(73.1% 0.150 119.7);
Tailwind
colors: {
  custom: {
    50: '#bdcb76',
    500: '#9db538',
    950: '#000000',
  },
}
SCSS
$custom: #9db538;
$custom-light: #bdcb76;
$custom-dark: #000000;
JSON
{
  "hex": "#9db538",
  "rgb": {
    "r": 157,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 71.52,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73123,
    "c": 0.14995,
    "h": 119.7
  },
  "luminance": 0.40501
}

Semantic roles & 50–950 ramp

primary
#9DB538
secondary
#9083C6
accent
#4CDC67
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9DB538

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

Preview Lab → · Contrast checker → · Palette generator →

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