#9EC338#9EC338

#9EC338 is a light, vivid yellow-green. Relative luminance 0.466; OKLCH L 76.4% C 0.166 H 123.4°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#9EC338
RGBrgb(158, 195, 56)
HSLhsl(76, 55%, 49%)
HSVhsv(76, 71%, 76%)
CMYKcmyk(19%, 0%, 71.3%, 23.5%)
CIE-LABlab(73.92, -31.52, 62.11)
CIE-LCHlch(73.92, 69.65, 116.91°)
OKLaboklab(76.45% -0.0917 0.1389)
OKLCHoklch(76.45% 0.166 123.4)
XYZxyz(34.3298, 46.5846, 10.9237)
Luminance0.4658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC338 #5D38C3
analogous
#C3A338 #9EC338 #59C338
triadic
#9EC338 #389EC3 #C3389E
tetradic
#9EC338 #38C3A3 #5D38C3 #C33859
square
#9EC338 #38C3A3 #5D38C3 #C33859
split-complementary
#9EC338 #3859C3 #A338C3
monochromatic
#51641D #77932A #9EC338 #B6D365 #CCE195

Accessibility & contrast

On white

2.04
#9EC338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#9EC338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC338
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC338#FFFFFF#000000##000000
##9EC3381.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB71F
Deuteranopia (green-blind)
#C9B544
Tritanopia (blue-blind)
#A6B9A8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #9ec338;
/* rgb */ color: rgb(158, 195, 56);
/* oklch */ color: oklch(76.4% 0.166 123.4);
Tailwind
colors: {
  custom: {
    50: '#bed578',
    500: '#9ec338',
    950: '#000000',
  },
}
SCSS
$custom: #9ec338;
$custom-light: #bed578;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec338",
  "rgb": {
    "r": 158,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 75.971,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76446,
    "c": 0.16642,
    "h": 123.4
  },
  "luminance": 0.46585
}

Semantic roles & 50–950 ramp

primary
#9EC338
secondary
#9C8BCC
accent
#49DF71
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#131409
muted
#82837B

Preview Lab

Preview with #9EC338

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

Preview Lab → · Contrast checker → · Palette generator →

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