#9ED040#9ED040

#9ED040 is a light, vivid yellow-green. Relative luminance 0.528; OKLCH L 79.5% C 0.177 H 126.8°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#9ED040
RGBrgb(158, 208, 64)
HSLhsl(81, 61%, 53%)
HSVhsv(81, 69%, 82%)
CMYKcmyk(24%, 0%, 69.2%, 18.4%)
CIE-LABlab(77.73, -37.01, 62.99)
CIE-LCHlch(77.73, 73.06, 120.44°)
OKLaboklab(79.54% -0.1061 0.1419)
OKLCHoklch(79.54% 0.177 126.8)
XYZxyz(37.5819, 52.7504, 13.0513)
Luminance0.5275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ED040 #7240D0
analogous
#D0BA40 #9ED040 #56D040
triadic
#9ED040 #409ED0 #D0409E
tetradic
#9ED040 #40D0BA #7240D0 #D04056
square
#9ED040 #40D0BA #7240D0 #D04056
split-complementary
#9ED040 #4056D0 #BA40D0
monochromatic
#59781E #7DA92A #9ED040 #B7DC71 #D0E8A2

Accessibility & contrast

On white

1.82
#9ED040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#9ED040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ED040
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ED040#FFFFFF#000000##000000
##9ED0401.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC229
Deuteranopia (green-blind)
#D4BF4C
Tritanopia (blue-blind)
#A4C6B3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #9ed040;
/* rgb */ color: rgb(158, 208, 64);
/* oklch */ color: oklch(79.5% 0.177 126.8);
Tailwind
colors: {
  custom: {
    50: '#bede7d',
    500: '#9ed040',
    950: '#000000',
  },
}
SCSS
$custom: #9ed040;
$custom-light: #bede7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ed040",
  "rgb": {
    "r": 158,
    "g": 208,
    "b": 64
  },
  "hsl": {
    "h": 80.833,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79542,
    "c": 0.1772,
    "h": 126.8
  },
  "luminance": 0.52751
}

Semantic roles & 50–950 ramp

primary
#9ED040
secondary
#4E3480
accent
#44E47C
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9ED040

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

Preview Lab → · Contrast checker → · Palette generator →

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