#9ECD52#9ECD52

#9ECD52 is a light, vivid yellow-green. Relative luminance 0.515; OKLCH L 79.0% C 0.160 H 127.4°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#9ECD52
RGBrgb(158, 205, 82)
HSLhsl(83, 55%, 56%)
HSVhsv(83, 60%, 80%)
CMYKcmyk(22.9%, 0%, 60%, 19.6%)
CIE-LABlab(77.01, -34.31, 54.91)
CIE-LCHlch(77.01, 64.75, 122.00°)
OKLaboklab(79% -0.0971 0.1272)
OKLCHoklch(79% 0.16 127.4)
XYZxyz(37.4548, 51.5403, 15.9560)
Luminance0.5154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECD52 #8152CD
analogous
#CDBF52 #9ECD52 #61CD52
triadic
#9ECD52 #529ECD #CD529E
tetradic
#9ECD52 #52CDBF #8152CD #CD5261
square
#9ECD52 #52CDBF #8152CD #CD5261
split-complementary
#9ECD52 #5261CD #BF52CD
monochromatic
#5D8025 #80AF33 #9ECD52 #B9DB81 #D3E8B1

Accessibility & contrast

On white

1.86
#9ECD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#9ECD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECD52
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECD52#FFFFFF#000000##000000
##9ECD521.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C044
Deuteranopia (green-blind)
#D0BD5B
Tritanopia (blue-blind)
#A3C4B3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #9ecd52;
/* rgb */ color: rgb(158, 205, 82);
/* oklch */ color: oklch(79.0% 0.160 127.4);
Tailwind
colors: {
  custom: {
    50: '#bddc87',
    500: '#9ecd52',
    950: '#000000',
  },
}
SCSS
$custom: #9ecd52;
$custom-light: #bddc87;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecd52",
  "rgb": {
    "r": 158,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 82.927,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79002,
    "c": 0.16005,
    "h": 127.4
  },
  "luminance": 0.51541
}

Semantic roles & 50–950 ramp

primary
#9ECD52
secondary
#593C87
accent
#49DE82
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#12150C
muted
#82847F

Preview Lab

Preview with #9ECD52

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

Preview Lab → · Contrast checker → · Palette generator →

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