#9ECF52#9ECF52

#9ECF52 is a light, vivid yellow-green. Relative luminance 0.525; OKLCH L 79.5% C 0.163 H 127.8°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#9ECF52
RGBrgb(158, 207, 82)
HSLhsl(84, 57%, 57%)
HSVhsv(84, 60%, 81%)
CMYKcmyk(23.7%, 0%, 60.4%, 18.8%)
CIE-LABlab(77.58, -35.23, 55.55)
CIE-LCHlch(77.58, 65.78, 122.38°)
OKLaboklab(79.47% -0.0996 0.1286)
OKLCHoklch(79.47% 0.163 127.8)
XYZxyz(37.9363, 52.5032, 16.1165)
Luminance0.5250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECF52 #8352CF
analogous
#CFC252 #9ECF52 #60CF52
triadic
#9ECF52 #529ECF #CF529E
tetradic
#9ECF52 #52CFC2 #8352CF #CF5260
square
#9ECF52 #52CFC2 #8352CF #CF5260
split-complementary
#9ECF52 #5260CF #C252CF
monochromatic
#5D8224 #80B231 #9ECF52 #B9DC82 #D4EAB2

Accessibility & contrast

On white

1.83
#9ECF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#9ECF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECF52
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECF52#FFFFFF#000000##000000
##9ECF521.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#D2BF5B
Tritanopia (blue-blind)
#A3C6B4
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #9ecf52;
/* rgb */ color: rgb(158, 207, 82);
/* oklch */ color: oklch(79.5% 0.163 127.8);
Tailwind
colors: {
  custom: {
    50: '#bede87',
    500: '#9ecf52',
    950: '#000000',
  },
}
SCSS
$custom: #9ecf52;
$custom-light: #bede87;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecf52",
  "rgb": {
    "r": 158,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 83.52,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79468,
    "c": 0.16267,
    "h": 127.8
  },
  "luminance": 0.52504
}

Semantic roles & 50–950 ramp

primary
#9ECF52
secondary
#5A3C8A
accent
#48E083
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#12150C
muted
#82847F

Preview Lab

Preview with #9ECF52

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

Preview Lab → · Contrast checker → · Palette generator →

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