#9DC940#9DC940

#9DC940 is a light, vivid yellow-green. Relative luminance 0.493; OKLCH L 77.8% C 0.169 H 125.6°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#9DC940
RGBrgb(157, 201, 64)
HSLhsl(79, 56%, 52%)
HSVhsv(79, 68%, 79%)
CMYKcmyk(21.9%, 0%, 68.2%, 21.2%)
CIE-LABlab(75.64, -34.21, 60.84)
CIE-LCHlch(75.64, 69.80, 119.35°)
OKLaboklab(77.84% -0.0983 0.1375)
OKLCHoklch(77.84% 0.169 125.6)
XYZxyz(35.7169, 49.3111, 12.4858)
Luminance0.4931 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DC940 #6C40C9
analogous
#C9B040 #9DC940 #59C940
triadic
#9DC940 #409DC9 #C9409D
tetradic
#9DC940 #40C9B0 #6C40C9 #C94059
square
#9DC940 #40C9B0 #6C40C9 #C94059
split-complementary
#9DC940 #4059C9 #B040C9
monochromatic
#566F1F #7A9F2D #9DC940 #B5D670 #CEE49F

Accessibility & contrast

On white

1.93
#9DC940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#9DC940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DC940
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DC940#FFFFFF#000000##000000
##9DC9401.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2B
Deuteranopia (green-blind)
#CEBA4B
Tritanopia (blue-blind)
#A4C0AE
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #9dc940;
/* rgb */ color: rgb(157, 201, 64);
/* oklch */ color: oklch(77.8% 0.169 125.6);
Tailwind
colors: {
  custom: {
    50: '#bdd97c',
    500: '#9dc940',
    950: '#000000',
  },
}
SCSS
$custom: #9dc940;
$custom-light: #bdd97c;
$custom-dark: #000000;
JSON
{
  "hex": "#9dc940",
  "rgb": {
    "r": 157,
    "g": 201,
    "b": 64
  },
  "hsl": {
    "h": 79.27,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77839,
    "c": 0.16901,
    "h": 125.6
  },
  "luminance": 0.49312
}

Semantic roles & 50–950 ramp

primary
#9DC940
secondary
#A894D0
accent
#49DF79
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9DC940

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

Preview Lab → · Contrast checker → · Palette generator →

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