#9DC040#9DC040

#9DC040 is a light, vivid yellow-green. Relative luminance 0.452; OKLCH L 75.7% C 0.158 H 123.4°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#9DC040
RGBrgb(157, 192, 64)
HSLhsl(76, 50%, 50%)
HSVhsv(76, 67%, 75%)
CMYKcmyk(18.2%, 0%, 66.7%, 24.7%)
CIE-LABlab(73.05, -30.01, 58.16)
CIE-LCHlch(73.05, 65.44, 117.29°)
OKLaboklab(75.74% -0.0868 0.1318)
OKLCHoklch(75.74% 0.158 123.4)
XYZxyz(33.6800, 45.2373, 11.8068)
Luminance0.4524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DC040 #6340C0
analogous
#C0A340 #9DC040 #5DC040
triadic
#9DC040 #409DC0 #C0409D
tetradic
#9DC040 #40C0A3 #6340C0 #C0405D
square
#9DC040 #40C0A3 #6340C0 #C0405D
split-complementary
#9DC040 #405DC0 #A340C0
monochromatic
#526421 #789230 #9DC040 #B5CF6E #CCDE9C

Accessibility & contrast

On white

2.09
#9DC040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#9DC040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DC040
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DC040#FFFFFF#000000##000000
##9DC0401.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB42E
Deuteranopia (green-blind)
#C6B34A
Tritanopia (blue-blind)
#A4B7A6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #9dc040;
/* rgb */ color: rgb(157, 192, 64);
/* oklch */ color: oklch(75.7% 0.158 123.4);
Tailwind
colors: {
  custom: {
    50: '#bdd37c',
    500: '#9dc040',
    950: '#000000',
  },
}
SCSS
$custom: #9dc040;
$custom-light: #bdd37c;
$custom-dark: #000000;
JSON
{
  "hex": "#9dc040",
  "rgb": {
    "r": 157,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 76.406,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.7574,
    "c": 0.15781,
    "h": 123.4
  },
  "luminance": 0.45238
}

Semantic roles & 50–950 ramp

primary
#9DC040
secondary
#A191CB
accent
#4EDA74
background
#FBFCF7
surface
#F7F9EE
border
#D0D2C9
text
#12140A
muted
#81827C

Preview Lab

Preview with #9DC040

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

Preview Lab → · Contrast checker → · Palette generator →

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