#9ECE52#9ECE52

#9ECE52 is a light, vivid yellow-green. Relative luminance 0.520; OKLCH L 79.2% C 0.161 H 127.6°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#9ECE52
RGBrgb(158, 206, 82)
HSLhsl(83, 56%, 56%)
HSVhsv(83, 60%, 81%)
CMYKcmyk(23.3%, 0%, 60.2%, 19.2%)
CIE-LABlab(77.29, -34.77, 55.23)
CIE-LCHlch(77.29, 65.26, 122.19°)
OKLaboklab(79.24% -0.0984 0.1279)
OKLCHoklch(79.24% 0.161 127.6)
XYZxyz(37.6948, 52.0202, 16.0360)
Luminance0.5202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECE52 #8252CE
analogous
#CEC052 #9ECE52 #60CE52
triadic
#9ECE52 #529ECE #CE529E
tetradic
#9ECE52 #52CEC0 #8252CE #CE5260
square
#9ECE52 #52CEC0 #8252CE #CE5260
split-complementary
#9ECE52 #5260CE #C052CE
monochromatic
#5D8125 #80B132 #9ECE52 #B9DC82 #D3E9B1

Accessibility & contrast

On white

1.84
#9ECE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#9ECE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECE52
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECE52#FFFFFF#000000##000000
##9ECE521.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C144
Deuteranopia (green-blind)
#D1BE5B
Tritanopia (blue-blind)
#A3C5B4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #9ece52;
/* rgb */ color: rgb(158, 206, 82);
/* oklch */ color: oklch(79.2% 0.161 127.6);
Tailwind
colors: {
  custom: {
    50: '#bedd87',
    500: '#9ece52',
    950: '#000000',
  },
}
SCSS
$custom: #9ece52;
$custom-light: #bedd87;
$custom-dark: #000000;
JSON
{
  "hex": "#9ece52",
  "rgb": {
    "r": 158,
    "g": 206,
    "b": 82
  },
  "hsl": {
    "h": 83.226,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79235,
    "c": 0.16136,
    "h": 127.6
  },
  "luminance": 0.52021
}

Semantic roles & 50–950 ramp

primary
#9ECE52
secondary
#593C88
accent
#49DF83
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#12150C
muted
#82847F

Preview Lab

Preview with #9ECE52

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

Preview Lab → · Contrast checker → · Palette generator →

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