#9EDF40#9EDF40

#9EDF40 is a very light, vivid yellow-green. Relative luminance 0.604; OKLCH L 83.1% C 0.196 H 129.4°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#9EDF40
RGBrgb(158, 223, 64)
HSLhsl(85, 71%, 56%)
HSVhsv(85, 71%, 87%)
CMYKcmyk(29.1%, 0%, 71.3%, 12.5%)
CIE-LABlab(82.06, -43.63, 67.34)
CIE-LCHlch(82.06, 80.24, 122.94°)
OKLaboklab(83.06% -0.1242 0.1511)
OKLCHoklch(83.06% 0.196 129.4)
XYZxyz(41.4135, 60.4135, 14.3285)
Luminance0.6041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EDF40 #8140DF
analogous
#DFD040 #9EDF40 #4FDF40
triadic
#9EDF40 #409EDF #DF409E
tetradic
#9EDF40 #40DFD0 #8140DF #DF404F
square
#9EDF40 #40DFD0 #8140DF #DF404F
split-complementary
#9EDF40 #404FDF #D040DF
monochromatic
#5D8D18 #80C120 #9EDF40 #B9E874 #D3F1A9

Accessibility & contrast

On white

1.61
#9EDF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.08
#9EDF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EDF40
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EDF40#FFFFFF#000000##000000
##9EDF401.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF23
Deuteranopia (green-blind)
#E0CB4F
Tritanopia (blue-blind)
#A2D5C0
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #9edf40;
/* rgb */ color: rgb(158, 223, 64);
/* oklch */ color: oklch(83.1% 0.196 129.4);
Tailwind
colors: {
  custom: {
    50: '#bfe97f',
    500: '#9edf40',
    950: '#000000',
  },
}
SCSS
$custom: #9edf40;
$custom-light: #bfe97f;
$custom-dark: #000000;
JSON
{
  "hex": "#9edf40",
  "rgb": {
    "r": 158,
    "g": 223,
    "b": 64
  },
  "hsl": {
    "h": 84.528,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83061,
    "c": 0.19555,
    "h": 129.4
  },
  "luminance": 0.60415
}

Semantic roles & 50–950 ramp

primary
#9EDF40
secondary
#593192
accent
#3AEE83
background
#FDFEFB
surface
#F9FDF2
border
#D2D5CC
text
#13160B
muted
#82847E

Preview Lab

Preview with #9EDF40

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

Preview Lab → · Contrast checker → · Palette generator →

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