#9EC938#9EC938

#9EC938 is a light, vivid yellow-green. Relative luminance 0.493; OKLCH L 77.8% C 0.174 H 124.9°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#9EC938
RGBrgb(158, 201, 56)
HSLhsl(78, 57%, 50%)
HSVhsv(78, 72%, 79%)
CMYKcmyk(21.4%, 0%, 72.1%, 21.2%)
CIE-LABlab(75.65, -34.30, 63.81)
CIE-LCHlch(75.65, 72.45, 118.26°)
OKLaboklab(77.85% -0.0993 0.1425)
OKLCHoklch(77.85% 0.174 124.9)
XYZxyz(35.7013, 49.3275, 11.3809)
Luminance0.4933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC938 #6338C9
analogous
#C9AB38 #9EC938 #55C938
triadic
#9EC938 #389EC9 #C9389E
tetradic
#9EC938 #38C9AB #6338C9 #C93855
square
#9EC938 #38C9AB #6338C9 #C93855
split-complementary
#9EC938 #3855C9 #AB38C9
monochromatic
#536A1D #799A2A #9EC938 #B5D668 #CDE398

Accessibility & contrast

On white

1.93
#9EC938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#9EC938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC938
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC938#FFFFFF#000000##000000
##9EC9381.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC1D
Deuteranopia (green-blind)
#CEBA45
Tritanopia (blue-blind)
#A5BFAD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #9ec938;
/* rgb */ color: rgb(158, 201, 56);
/* oklch */ color: oklch(77.8% 0.174 124.9);
Tailwind
colors: {
  custom: {
    50: '#bed978',
    500: '#9ec938',
    950: '#000000',
  },
}
SCSS
$custom: #9ec938;
$custom-light: #bed978;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec938",
  "rgb": {
    "r": 158,
    "g": 201,
    "b": 56
  },
  "hsl": {
    "h": 77.793,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77846,
    "c": 0.17368,
    "h": 124.9
  },
  "luminance": 0.49328
}

Semantic roles & 50–950 ramp

primary
#9EC938
secondary
#A18ECF
accent
#47E175
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #9EC938

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

Preview Lab → · Contrast checker → · Palette generator →

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