#9DC240#9DC240

#9DC240 is a light, vivid yellow-green. Relative luminance 0.461; OKLCH L 76.2% C 0.160 H 123.9°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#9DC240
RGBrgb(157, 194, 64)
HSLhsl(77, 52%, 51%)
HSVhsv(77, 67%, 76%)
CMYKcmyk(19.1%, 0%, 67%, 23.9%)
CIE-LABlab(73.62, -30.95, 58.76)
CIE-LCHlch(73.62, 66.41, 117.78°)
OKLaboklab(76.21% -0.0894 0.1331)
OKLCHoklch(76.21% 0.16 123.9)
XYZxyz(34.1221, 46.1216, 11.9542)
Luminance0.4612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DC240 #6540C2
analogous
#C2A640 #9DC240 #5CC240
triadic
#9DC240 #409DC2 #C2409D
tetradic
#9DC240 #40C2A6 #6540C2 #C2405C
square
#9DC240 #40C2A6 #6540C2 #C2405C
split-complementary
#9DC240 #405CC2 #A640C2
monochromatic
#536721 #789530 #9DC240 #B5D16E #CDE09D

Accessibility & contrast

On white

2.05
#9DC240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#9DC240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DC240
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DC240#FFFFFF#000000##000000
##9DC2401.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62D
Deuteranopia (green-blind)
#C8B54A
Tritanopia (blue-blind)
#A4B9A8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #9dc240;
/* rgb */ color: rgb(157, 194, 64);
/* oklch */ color: oklch(76.2% 0.160 123.9);
Tailwind
colors: {
  custom: {
    50: '#bdd47c',
    500: '#9dc240',
    950: '#000000',
  },
}
SCSS
$custom: #9dc240;
$custom-light: #bdd47c;
$custom-dark: #000000;
JSON
{
  "hex": "#9dc240",
  "rgb": {
    "r": 157,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 77.077,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76205,
    "c": 0.1603,
    "h": 123.9
  },
  "luminance": 0.46122
}

Semantic roles & 50–950 ramp

primary
#9DC240
secondary
#A292CC
accent
#4DDB75
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9DC240

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

Preview Lab → · Contrast checker → · Palette generator →

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