#9ECB52#9ECB52

#9ECB52 is a light, vivid yellow-green. Relative luminance 0.506; OKLCH L 78.5% C 0.157 H 126.9°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#9ECB52
RGBrgb(158, 203, 82)
HSLhsl(82, 54%, 56%)
HSVhsv(82, 60%, 80%)
CMYKcmyk(22.2%, 0%, 59.6%, 20.4%)
CIE-LABlab(76.43, -33.39, 54.27)
CIE-LCHlch(76.43, 63.72, 121.60°)
OKLaboklab(78.54% -0.0945 0.1259)
OKLCHoklch(78.54% 0.157 126.9)
XYZxyz(36.9795, 50.5896, 15.7975)
Luminance0.5059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECB52 #7F52CB
analogous
#CBBB52 #9ECB52 #61CB52
triadic
#9ECB52 #529ECB #CB529E
tetradic
#9ECB52 #52CBBB #7F52CB #CB5261
square
#9ECB52 #52CBBB #7F52CB #CB5261
split-complementary
#9ECB52 #5261CB #BB52CB
monochromatic
#5D7D26 #7FAC34 #9ECB52 #B8D981 #D3E7B0

Accessibility & contrast

On white

1.89
#9ECB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#9ECB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECB52
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECB52#FFFFFF#000000##000000
##9ECB521.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE45
Deuteranopia (green-blind)
#CEBC5A
Tritanopia (blue-blind)
#A3C2B1
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9ecb52;
/* rgb */ color: rgb(158, 203, 82);
/* oklch */ color: oklch(78.5% 0.157 126.9);
Tailwind
colors: {
  custom: {
    50: '#bddb87',
    500: '#9ecb52',
    950: '#000000',
  },
}
SCSS
$custom: #9ecb52;
$custom-light: #bddb87;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecb52",
  "rgb": {
    "r": 158,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 82.314,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78537,
    "c": 0.15741,
    "h": 126.9
  },
  "luminance": 0.5059
}

Semantic roles & 50–950 ramp

primary
#9ECB52
secondary
#573C85
accent
#4BDD81
background
#FDFEFC
surface
#F9FBF3
border
#D2D4CD
text
#12150C
muted
#82847F

Preview Lab

Preview with #9ECB52

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

Preview Lab → · Contrast checker → · Palette generator →

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