#9EC631#9EC631

#9EC631 is a light, vivid yellow-green. Relative luminance 0.479; OKLCH L 77.1% C 0.174 H 123.9°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#9EC631
RGBrgb(158, 198, 49)
HSLhsl(76, 60%, 48%)
HSVhsv(76, 75%, 78%)
CMYKcmyk(20.2%, 0%, 75.3%, 22.4%)
CIE-LABlab(74.75, -33.29, 65.30)
CIE-LCHlch(74.75, 73.30, 117.01°)
OKLaboklab(77.1% -0.0971 0.1445)
OKLCHoklch(77.1% 0.174 123.9)
XYZxyz(34.8494, 47.8787, 10.3107)
Luminance0.4788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC631 #5931C6
analogous
#C6A331 #9EC631 #54C631
triadic
#9EC631 #319EC6 #C6319E
tetradic
#9EC631 #31C6A3 #5931C6 #C63154
square
#9EC631 #31C6A3 #5931C6 #C63154
split-complementary
#9EC631 #3154C6 #A331C6
monochromatic
#506419 #779525 #9EC631 #B6D75D #CCE38E

Accessibility & contrast

On white

1.99
#9EC631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#9EC631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC631
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC631#FFFFFF#000000##000000
##9EC6311.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B90C
Deuteranopia (green-blind)
#CCB83F
Tritanopia (blue-blind)
#A6BCAA
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #9ec631;
/* rgb */ color: rgb(158, 198, 49);
/* oklch */ color: oklch(77.1% 0.174 123.9);
Tailwind
colors: {
  custom: {
    50: '#bfd774',
    500: '#9ec631',
    950: '#000000',
  },
}
SCSS
$custom: #9ec631;
$custom-light: #bfd774;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec631",
  "rgb": {
    "r": 158,
    "g": 198,
    "b": 49
  },
  "hsl": {
    "h": 76.107,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.771,
    "c": 0.17409,
    "h": 123.9
  },
  "luminance": 0.47879
}

Semantic roles & 50–950 ramp

primary
#9EC631
secondary
#9985CE
accent
#44E36F
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #9EC631

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

Preview Lab → · Contrast checker → · Palette generator →

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