#9DB340#9DB340

#9DB340 is a light, vivid yellow-green. Relative luminance 0.398; OKLCH L 72.7% C 0.142 H 119.3°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#9DB340
RGBrgb(157, 179, 64)
HSLhsl(71, 47%, 48%)
HSVhsv(71, 64%, 70%)
CMYKcmyk(12.3%, 0%, 64.2%, 29.8%)
CIE-LABlab(69.31, -23.73, 54.23)
CIE-LCHlch(69.31, 59.20, 113.63°)
OKLaboklab(72.73% -0.0693 0.1235)
OKLCHoklch(72.73% 0.142 119.3)
XYZxyz(30.9506, 39.7786, 10.8970)
Luminance0.3978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB340 #5640B3
analogous
#B38F40 #9DB340 #64B340
triadic
#9DB340 #409DB3 #B3409D
tetradic
#9DB340 #40B38F #5640B3 #B34064
square
#9DB340 #40B38F #5640B3 #B34064
split-complementary
#9DB340 #4064B3 #8F40B3
monochromatic
#4E5920 #758630 #9DB340 #B6C967 #CCD994

Accessibility & contrast

On white

2.34
#9DB340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#9DB340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB340
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB340#FFFFFF#000000##000000
##9DB3401.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA931
Deuteranopia (green-blind)
#BCAA48
Tritanopia (blue-blind)
#A6AA9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9db340;
/* rgb */ color: rgb(157, 179, 64);
/* oklch */ color: oklch(72.7% 0.142 119.3);
Tailwind
colors: {
  custom: {
    50: '#bdc97a',
    500: '#9db340',
    950: '#000000',
  },
}
SCSS
$custom: #9db340;
$custom-light: #bdc97a;
$custom-dark: #000000;
JSON
{
  "hex": "#9db340",
  "rgb": {
    "r": 157,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 71.478,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72729,
    "c": 0.14167,
    "h": 119.3
  },
  "luminance": 0.39778
}

Semantic roles & 50–950 ramp

primary
#9DB340
secondary
#958AC4
accent
#51D76B
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9DB340

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

Preview Lab → · Contrast checker → · Palette generator →

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