#9ECA31#9ECA31

#9ECA31 is a light, vivid yellow-green. Relative luminance 0.497; OKLCH L 78.0% C 0.179 H 124.8°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#9ECA31
RGBrgb(158, 202, 49)
HSLhsl(77, 61%, 49%)
HSVhsv(77, 76%, 79%)
CMYKcmyk(21.8%, 0%, 75.7%, 20.8%)
CIE-LABlab(75.90, -35.13, 66.39)
CIE-LCHlch(75.90, 75.11, 117.88°)
OKLaboklab(78.04% -0.1021 0.1468)
OKLCHoklch(78.04% 0.179 124.8)
XYZxyz(35.7758, 49.7315, 10.6195)
Luminance0.4973 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECA31 #5D31CA
analogous
#CAAA31 #9ECA31 #52CA31
triadic
#9ECA31 #319ECA #CA319E
tetradic
#9ECA31 #31CAAA #5D31CA #CA3152
square
#9ECA31 #31CAAA #5D31CA #CA3152
split-complementary
#9ECA31 #3152CA #AA31CA
monochromatic
#516719 #779925 #9ECA31 #B6D860 #CCE491

Accessibility & contrast

On white

1.92
#9ECA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#9ECA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECA31
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECA31#FFFFFF#000000##000000
##9ECA311.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD08
Deuteranopia (green-blind)
#CFBB40
Tritanopia (blue-blind)
#A5C0AD
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #9eca31;
/* rgb */ color: rgb(158, 202, 49);
/* oklch */ color: oklch(78.0% 0.179 124.8);
Tailwind
colors: {
  custom: {
    50: '#bfda75',
    500: '#9eca31',
    950: '#000000',
  },
}
SCSS
$custom: #9eca31;
$custom-light: #bfda75;
$custom-dark: #000000;
JSON
{
  "hex": "#9eca31",
  "rgb": {
    "r": 158,
    "g": 202,
    "b": 49
  },
  "hsl": {
    "h": 77.255,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78036,
    "c": 0.17883,
    "h": 124.8
  },
  "luminance": 0.49732
}

Semantic roles & 50–950 ramp

primary
#9ECA31
secondary
#9C88CF
accent
#44E472
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #9ECA31

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

Preview Lab → · Contrast checker → · Palette generator →

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