#9EC231#9EC231

#9EC231 is a light, vivid yellow-green. Relative luminance 0.461; OKLCH L 76.2% C 0.169 H 122.9°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#9EC231
RGBrgb(158, 194, 49)
HSLhsl(75, 60%, 48%)
HSVhsv(75, 75%, 76%)
CMYKcmyk(18.6%, 0%, 74.7%, 23.9%)
CIE-LABlab(73.59, -31.43, 64.21)
CIE-LCHlch(73.59, 71.49, 116.08°)
OKLaboklab(76.17% -0.092 0.1422)
OKLCHoklch(76.17% 0.169 122.9)
XYZxyz(33.9472, 46.0743, 10.0099)
Luminance0.4607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC231 #5531C2
analogous
#C29E31 #9EC231 #55C231
triadic
#9EC231 #319EC2 #C2319E
tetradic
#9EC231 #31C29E #5531C2 #C23155
square
#9EC231 #31C29E #5531C2 #C23155
split-complementary
#9EC231 #3155C2 #9E31C2
monochromatic
#4E6018 #769125 #9EC231 #B7D65B #CCE28C

Accessibility & contrast

On white

2.06
#9EC231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#9EC231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC231
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC231#FFFFFF#000000##000000
##9EC2311.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB610
Deuteranopia (green-blind)
#C9B53E
Tritanopia (blue-blind)
#A6B8A7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #9ec231;
/* rgb */ color: rgb(158, 194, 49);
/* oklch */ color: oklch(76.2% 0.169 122.9);
Tailwind
colors: {
  custom: {
    50: '#bed474',
    500: '#9ec231',
    950: '#000000',
  },
}
SCSS
$custom: #9ec231;
$custom-light: #bed474;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec231",
  "rgb": {
    "r": 158,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 74.897,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76166,
    "c": 0.16935,
    "h": 122.9
  },
  "luminance": 0.46074
}

Semantic roles & 50–950 ramp

primary
#9EC231
secondary
#9583CC
accent
#45E36C
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #9EC231

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

Preview Lab → · Contrast checker → · Palette generator →

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