#9DB040#9DB040

#9DB040 is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 72.0% C 0.138 H 118.2°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#9DB040
RGBrgb(157, 176, 64)
HSLhsl(70, 47%, 47%)
HSVhsv(70, 64%, 69%)
CMYKcmyk(10.8%, 0%, 63.6%, 31%)
CIE-LABlab(68.45, -22.25, 53.32)
CIE-LCHlch(68.45, 57.77, 112.65°)
OKLaboklab(72.04% -0.0652 0.1216)
OKLCHoklch(72.04% 0.138 118.2)
XYZxyz(30.3559, 38.5892, 10.6988)
Luminance0.3859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB040 #5340B0
analogous
#B08B40 #9DB040 #65B040
triadic
#9DB040 #409DB0 #B0409D
tetradic
#9DB040 #40B08B #5340B0 #B04065
square
#9DB040 #40B08B #5340B0 #B04065
split-complementary
#9DB040 #4065B0 #8B40B0
monochromatic
#4D561F #758330 #9DB040 #B7C766 #CCD893

Accessibility & contrast

On white

2.41
#9DB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#9DB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB040
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB040#FFFFFF#000000##000000
##9DB0401.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA732
Deuteranopia (green-blind)
#B9A748
Tritanopia (blue-blind)
#A6A799
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9db040;
/* rgb */ color: rgb(157, 176, 64);
/* oklch */ color: oklch(72.0% 0.138 118.2);
Tailwind
colors: {
  custom: {
    50: '#bdc77a',
    500: '#9db040',
    950: '#000000',
  },
}
SCSS
$custom: #9db040;
$custom-light: #bdc77a;
$custom-dark: #000000;
JSON
{
  "hex": "#9db040",
  "rgb": {
    "r": 157,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 70.179,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72039,
    "c": 0.13799,
    "h": 118.2
  },
  "luminance": 0.38589
}

Semantic roles & 50–950 ramp

primary
#9DB040
secondary
#9389C3
accent
#51D668
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9DB040

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

Preview Lab → · Contrast checker → · Palette generator →

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