#9EC331#9EC331

#9EC331 is a light, vivid yellow-green. Relative luminance 0.465; OKLCH L 76.4% C 0.171 H 123.2°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#9EC331
RGBrgb(158, 195, 49)
HSLhsl(75, 60%, 48%)
HSVhsv(75, 75%, 76%)
CMYKcmyk(19%, 0%, 74.9%, 23.5%)
CIE-LABlab(73.88, -31.90, 64.48)
CIE-LCHlch(73.88, 71.94, 116.32°)
OKLaboklab(76.4% -0.0933 0.1427)
OKLCHoklch(76.4% 0.171 123.2)
XYZxyz(34.1705, 46.5209, 10.0844)
Luminance0.4652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC331 #5631C3
analogous
#C39F31 #9EC331 #55C331
triadic
#9EC331 #319EC3 #C3319E
tetradic
#9EC331 #31C39F #5631C3 #C33155
square
#9EC331 #31C39F #5631C3 #C33155
split-complementary
#9EC331 #3155C3 #9F31C3
monochromatic
#4F6118 #769225 #9EC331 #B7D65B #CCE28C

Accessibility & contrast

On white

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

On black

10.30
#9EC331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC331
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC331#FFFFFF#000000##000000
##9EC3311.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB70F
Deuteranopia (green-blind)
#CAB53F
Tritanopia (blue-blind)
#A6B9A7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #9ec331;
/* rgb */ color: rgb(158, 195, 49);
/* oklch */ color: oklch(76.4% 0.171 123.2);
Tailwind
colors: {
  custom: {
    50: '#bed574',
    500: '#9ec331',
    950: '#000000',
  },
}
SCSS
$custom: #9ec331;
$custom-light: #bed574;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec331",
  "rgb": {
    "r": 158,
    "g": 195,
    "b": 49
  },
  "hsl": {
    "h": 75.205,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.764,
    "c": 0.17054,
    "h": 123.2
  },
  "luminance": 0.46521
}

Semantic roles & 50–950 ramp

primary
#9EC331
secondary
#9683CC
accent
#45E36D
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #9EC331

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

Preview Lab → · Contrast checker → · Palette generator →

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