#9ED138#9ED138

#9ED138 is a light, vivid yellow-green. Relative luminance 0.532; OKLCH L 79.7% C 0.183 H 126.6°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#9ED138
RGBrgb(158, 209, 56)
HSLhsl(80, 62%, 52%)
HSVhsv(80, 73%, 82%)
CMYKcmyk(24.4%, 0%, 73.2%, 18%)
CIE-LABlab(77.97, -37.93, 66.07)
CIE-LCHlch(77.97, 76.19, 119.86°)
OKLaboklab(79.72% -0.1093 0.1472)
OKLCHoklch(79.72% 0.183 126.6)
XYZxyz(37.6150, 53.1549, 12.0188)
Luminance0.5316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ED138 #6B38D1
analogous
#D1B838 #9ED138 #52D138
triadic
#9ED138 #389ED1 #D1389E
tetradic
#9ED138 #38D1B8 #6B38D1 #D13852
square
#9ED138 #38D1B8 #6B38D1 #D13852
split-complementary
#9ED138 #3852D1 #B838D1
monochromatic
#56741B #7BA626 #9ED138 #B6DC6A #CEE89B

Accessibility & contrast

On white

1.81
#9ED138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#9ED138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ED138
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ED138#FFFFFF#000000##000000
##9ED1381.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC319
Deuteranopia (green-blind)
#D5C046
Tritanopia (blue-blind)
#A4C7B4
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #9ed138;
/* rgb */ color: rgb(158, 209, 56);
/* oklch */ color: oklch(79.7% 0.183 126.6);
Tailwind
colors: {
  custom: {
    50: '#bfdf79',
    500: '#9ed138',
    950: '#000000',
  },
}
SCSS
$custom: #9ed138;
$custom-light: #bfdf79;
$custom-dark: #000000;
JSON
{
  "hex": "#9ed138",
  "rgb": {
    "r": 158,
    "g": 209,
    "b": 56
  },
  "hsl": {
    "h": 80,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.79719,
    "c": 0.18332,
    "h": 126.6
  },
  "luminance": 0.53156
}

Semantic roles & 50–950 ramp

primary
#9ED138
secondary
#4A317C
accent
#42E679
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9ED138

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

Preview Lab → · Contrast checker → · Palette generator →

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