#9EC928#9EC928

#9EC928 is a light, vivid yellow-green. Relative luminance 0.492; OKLCH L 77.8% C 0.182 H 124.3°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#9EC928
RGBrgb(158, 201, 40)
HSLhsl(76, 67%, 47%)
HSVhsv(76, 80%, 79%)
CMYKcmyk(21.4%, 0%, 80.1%, 21.2%)
CIE-LABlab(75.57, -35.07, 68.75)
CIE-LCHlch(75.57, 77.17, 117.03°)
OKLaboklab(77.75% -0.1026 0.1503)
OKLCHoklch(77.75% 0.182 124.3)
XYZxyz(35.3706, 49.1952, 9.6393)
Luminance0.4920 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC928 #5328C9
analogous
#C9A428 #9EC928 #4DC928
triadic
#9EC928 #289EC9 #C9289E
tetradic
#9EC928 #28C9A4 #5328C9 #C9284D
square
#9EC928 #28C9A4 #5328C9 #C9284D
split-complementary
#9EC928 #284DC9 #A428C9
monochromatic
#4E6314 #76961E #9EC928 #B7DD52 #CDE785

Accessibility & contrast

On white

1.94
#9EC928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#9EC928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC928
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC928#FFFFFF#000000##000000
##9EC9281.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#CFBA39
Tritanopia (blue-blind)
#A6BFAC
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #9ec928;
/* rgb */ color: rgb(158, 201, 40);
/* oklch */ color: oklch(77.8% 0.182 124.3);
Tailwind
colors: {
  custom: {
    50: '#bfd971',
    500: '#9ec928',
    950: '#000000',
  },
}
SCSS
$custom: #9ec928;
$custom-light: #bfd971;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec928",
  "rgb": {
    "r": 158,
    "g": 201,
    "b": 40
  },
  "hsl": {
    "h": 76.025,
    "s": 66.805,
    "l": 47.255
  },
  "oklch": {
    "l": 0.77754,
    "c": 0.182,
    "h": 124.3
  },
  "luminance": 0.49196
}

Semantic roles & 50–950 ramp

primary
#9EC928
secondary
#937DD0
accent
#3EEA6C
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #9EC928

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

Preview Lab → · Contrast checker → · Palette generator →

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