#9EC538#9EC538

#9EC538 is a light, vivid yellow-green. Relative luminance 0.475; OKLCH L 76.9% C 0.169 H 123.9°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#9EC538
RGBrgb(158, 197, 56)
HSLhsl(77, 56%, 50%)
HSVhsv(77, 72%, 77%)
CMYKcmyk(19.8%, 0%, 71.6%, 22.7%)
CIE-LABlab(74.50, -32.45, 62.68)
CIE-LCHlch(74.50, 70.58, 117.37°)
OKLaboklab(76.91% -0.0943 0.1401)
OKLCHoklch(76.91% 0.169 123.9)
XYZxyz(34.7810, 47.4869, 11.0741)
Luminance0.4749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC538 #5F38C5
analogous
#C5A638 #9EC538 #57C538
triadic
#9EC538 #389EC5 #C5389E
tetradic
#9EC538 #38C5A6 #5F38C5 #C53857
square
#9EC538 #38C5A6 #5F38C5 #C53857
split-complementary
#9EC538 #3857C5 #A638C5
monochromatic
#52661D #78952A #9EC538 #B5D467 #CCE196

Accessibility & contrast

On white

2.00
#9EC538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#9EC538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC538
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC538#FFFFFF#000000##000000
##9EC5381.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B81F
Deuteranopia (green-blind)
#CBB744
Tritanopia (blue-blind)
#A6BBAA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #9ec538;
/* rgb */ color: rgb(158, 197, 56);
/* oklch */ color: oklch(76.9% 0.169 123.9);
Tailwind
colors: {
  custom: {
    50: '#bed678',
    500: '#9ec538',
    950: '#000000',
  },
}
SCSS
$custom: #9ec538;
$custom-light: #bed678;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec538",
  "rgb": {
    "r": 158,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 76.596,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76912,
    "c": 0.16885,
    "h": 123.9
  },
  "luminance": 0.47487
}

Semantic roles & 50–950 ramp

primary
#9EC538
secondary
#9E8CCD
accent
#49DF72
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#131409
muted
#82837B

Preview Lab

Preview with #9EC538

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

Preview Lab → · Contrast checker → · Palette generator →

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