#9EC257#9EC257

#9EC257 is a light, vivid yellow-green. Relative luminance 0.465; OKLCH L 76.5% C 0.141 H 125.1°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#9EC257
RGBrgb(158, 194, 87)
HSLhsl(80, 47%, 55%)
HSVhsv(80, 55%, 76%)
CMYKcmyk(18.6%, 0%, 55.2%, 23.9%)
CIE-LABlab(73.89, -28.71, 49.13)
CIE-LCHlch(73.89, 56.90, 120.30°)
OKLaboklab(76.51% -0.0811 0.1154)
OKLCHoklch(76.51% 0.141 125.1)
XYZxyz(35.1127, 46.5405, 16.1483)
Luminance0.4654 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC257 #7B57C2
analogous
#C2B157 #9EC257 #68C257
triadic
#9EC257 #579EC2 #C2579E
tetradic
#9EC257 #57C2B1 #7B57C2 #C25768
square
#9EC257 #57C2B1 #7B57C2 #C25768
split-complementary
#9EC257 #5768C2 #B157C2
monochromatic
#5B742A #7FA13B #9EC257 #B8D284 #D2E3B1

Accessibility & contrast

On white

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

On black

10.31
#9EC257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC257
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC257#FFFFFF#000000##000000
##9EC2571.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB74C
Deuteranopia (green-blind)
#C7B55E
Tritanopia (blue-blind)
#A4BAAA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #9ec257;
/* rgb */ color: rgb(158, 194, 87);
/* oklch */ color: oklch(76.5% 0.141 125.1);
Tailwind
colors: {
  custom: {
    50: '#bdd48a',
    500: '#9ec257',
    950: '#000000',
  },
}
SCSS
$custom: #9ec257;
$custom-light: #bdd48a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec257",
  "rgb": {
    "r": 158,
    "g": 194,
    "b": 87
  },
  "hsl": {
    "h": 80.187,
    "s": 46.725,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76506,
    "c": 0.14101,
    "h": 125.1
  },
  "luminance": 0.46541
}

Semantic roles & 50–950 ramp

primary
#9EC257
secondary
#B3A4D1
accent
#51D67E
background
#FBFDF8
surface
#F7FAF0
border
#D0D3CB
text
#12140C
muted
#81837D

Preview Lab

Preview with #9EC257

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

Preview Lab → · Contrast checker → · Palette generator →

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