#9DB240#9DB240

#9DB240 is a light, vivid yellow-green. Relative luminance 0.394; OKLCH L 72.5% C 0.140 H 118.9°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#9DB240
RGBrgb(157, 178, 64)
HSLhsl(71, 47%, 47%)
HSVhsv(71, 64%, 70%)
CMYKcmyk(11.8%, 0%, 64%, 30.2%)
CIE-LABlab(69.03, -23.24, 53.93)
CIE-LCHlch(69.03, 58.72, 113.31°)
OKLaboklab(72.5% -0.068 0.1229)
OKLCHoklch(72.5% 0.14 118.9)
XYZxyz(30.7510, 39.3793, 10.8305)
Luminance0.3938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB240 #5540B2
analogous
#B28E40 #9DB240 #64B240
triadic
#9DB240 #409DB2 #B2409D
tetradic
#9DB240 #40B28E #5540B2 #B24064
square
#9DB240 #40B28E #5540B2 #B24064
split-complementary
#9DB240 #4064B2 #8E40B2
monochromatic
#4E5820 #758530 #9DB240 #B6C867 #CCD894

Accessibility & contrast

On white

2.37
#9DB240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#9DB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB240
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB240#FFFFFF#000000##000000
##9DB2401.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA831
Deuteranopia (green-blind)
#BBA948
Tritanopia (blue-blind)
#A6A99A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9db240;
/* rgb */ color: rgb(157, 178, 64);
/* oklch */ color: oklch(72.5% 0.140 118.9);
Tailwind
colors: {
  custom: {
    50: '#bdc97a',
    500: '#9db240',
    950: '#000000',
  },
}
SCSS
$custom: #9db240;
$custom-light: #bdc97a;
$custom-dark: #000000;
JSON
{
  "hex": "#9db240",
  "rgb": {
    "r": 157,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 71.053,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72499,
    "c": 0.14044,
    "h": 118.9
  },
  "luminance": 0.39379
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9DB240

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

Preview Lab → · Contrast checker → · Palette generator →

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