#9EC252#9EC252

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

Color values

HEX#9EC252
RGBrgb(158, 194, 82)
HSLhsl(79, 48%, 54%)
HSVhsv(79, 58%, 76%)
CMYKcmyk(18.6%, 0%, 57.7%, 23.9%)
CIE-LABlab(73.84, -29.17, 51.36)
CIE-LCHlch(73.84, 59.06, 119.59°)
OKLaboklab(76.45% -0.0828 0.1196)
OKLCHoklch(76.45% 0.146 124.7)
XYZxyz(34.9154, 46.4616, 15.1095)
Luminance0.4646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC252 #7652C2
analogous
#C2AE52 #9EC252 #66C252
triadic
#9EC252 #529EC2 #C2529E
tetradic
#9EC252 #52C2AE #7652C2 #C25266
square
#9EC252 #52C2AE #7652C2 #C25266
split-complementary
#9EC252 #5266C2 #AE52C2
monochromatic
#5A7228 #7E9F38 #9EC252 #B7D27F #D1E2AC

Accessibility & contrast

On white

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

On black

10.29
#9EC252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC252
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC252#FFFFFF#000000##000000
##9EC2521.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB746
Deuteranopia (green-blind)
#C7B559
Tritanopia (blue-blind)
#A4B9AA
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #9ec252;
/* rgb */ color: rgb(158, 194, 82);
/* oklch */ color: oklch(76.4% 0.146 124.7);
Tailwind
colors: {
  custom: {
    50: '#bdd486',
    500: '#9ec252',
    950: '#000000',
  },
}
SCSS
$custom: #9ec252;
$custom-light: #bdd486;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec252",
  "rgb": {
    "r": 158,
    "g": 194,
    "b": 82
  },
  "hsl": {
    "h": 79.286,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76449,
    "c": 0.14551,
    "h": 124.7
  },
  "luminance": 0.46462
}

Semantic roles & 50–950 ramp

primary
#9EC252
secondary
#AFA0D0
accent
#50D77C
background
#FBFDF8
surface
#F7FAF0
border
#D0D3CB
text
#12140B
muted
#81837C

Preview Lab

Preview with #9EC252

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

Preview Lab → · Contrast checker → · Palette generator →

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