#9EC531#9EC531

#9EC531 is a light, vivid yellow-green. Relative luminance 0.474; OKLCH L 76.9% C 0.173 H 123.7°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#9EC531
RGBrgb(158, 197, 49)
HSLhsl(76, 60%, 48%)
HSVhsv(76, 75%, 77%)
CMYKcmyk(19.8%, 0%, 75.1%, 22.7%)
CIE-LABlab(74.46, -32.83, 65.03)
CIE-LCHlch(74.46, 72.84, 116.78°)
OKLaboklab(76.87% -0.0958 0.1439)
OKLCHoklch(76.87% 0.173 123.7)
XYZxyz(34.6216, 47.4231, 10.2347)
Luminance0.4742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC531 #5831C5
analogous
#C5A231 #9EC531 #54C531
triadic
#9EC531 #319EC5 #C5319E
tetradic
#9EC531 #31C5A2 #5831C5 #C53154
square
#9EC531 #31C5A2 #5831C5 #C53154
split-complementary
#9EC531 #3154C5 #A231C5
monochromatic
#4F6319 #779425 #9EC531 #B6D75D #CCE38E

Accessibility & contrast

On white

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

On black

10.48
#9EC531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC531
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC531#FFFFFF#000000##000000
##9EC5311.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B80D
Deuteranopia (green-blind)
#CBB73F
Tritanopia (blue-blind)
#A6BBA9
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #9ec531;
/* rgb */ color: rgb(158, 197, 49);
/* oklch */ color: oklch(76.9% 0.173 123.7);
Tailwind
colors: {
  custom: {
    50: '#bed674',
    500: '#9ec531',
    950: '#000000',
  },
}
SCSS
$custom: #9ec531;
$custom-light: #bed674;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec531",
  "rgb": {
    "r": 158,
    "g": 197,
    "b": 49
  },
  "hsl": {
    "h": 75.811,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76867,
    "c": 0.17291,
    "h": 123.7
  },
  "luminance": 0.47423
}

Semantic roles & 50–950 ramp

primary
#9EC531
secondary
#9885CD
accent
#44E36E
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #9EC531

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

Preview Lab → · Contrast checker → · Palette generator →

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