#9ECA52#9ECA52

#9ECA52 is a light, vivid yellow-green. Relative luminance 0.501; OKLCH L 78.3% C 0.156 H 126.7°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#9ECA52
RGBrgb(158, 202, 82)
HSLhsl(82, 53%, 56%)
HSVhsv(82, 59%, 79%)
CMYKcmyk(21.8%, 0%, 59.4%, 20.8%)
CIE-LABlab(76.14, -32.93, 53.95)
CIE-LCHlch(76.14, 63.20, 121.40°)
OKLaboklab(78.31% -0.0933 0.1252)
OKLCHoklch(78.31% 0.156 126.7)
XYZxyz(36.7441, 50.1188, 15.7191)
Luminance0.5012 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECA52 #7E52CA
analogous
#CABA52 #9ECA52 #62CA52
triadic
#9ECA52 #529ECA #CA529E
tetradic
#9ECA52 #52CABA #7E52CA #CA5262
square
#9ECA52 #52CABA #7E52CA #CA5262
split-complementary
#9ECA52 #5262CA #BA52CA
monochromatic
#5C7C26 #7FAB34 #9ECA52 #B8D881 #D3E7B0

Accessibility & contrast

On white

1.90
#9ECA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#9ECA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECA52
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECA52#FFFFFF#000000##000000
##9ECA521.001.9011.0211.02
#FFFFFF1.901.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE45
Deuteranopia (green-blind)
#CEBB5A
Tritanopia (blue-blind)
#A4C1B0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #9eca52;
/* rgb */ color: rgb(158, 202, 82);
/* oklch */ color: oklch(78.3% 0.156 126.7);
Tailwind
colors: {
  custom: {
    50: '#bdda87',
    500: '#9eca52',
    950: '#000000',
  },
}
SCSS
$custom: #9eca52;
$custom-light: #bdda87;
$custom-dark: #000000;
JSON
{
  "hex": "#9eca52",
  "rgb": {
    "r": 158,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 82,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78305,
    "c": 0.1561,
    "h": 126.7
  },
  "luminance": 0.50119
}

Semantic roles & 50–950 ramp

primary
#9ECA52
secondary
#573C84
accent
#4BDD81
background
#FDFEFC
surface
#F9FBF3
border
#D2D4CD
text
#12140C
muted
#82837F

Preview Lab

Preview with #9ECA52

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

Preview Lab → · Contrast checker → · Palette generator →

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