#9ECB39#9ECB39

#9ECB39 is a light, vivid yellow-green. Relative luminance 0.503; OKLCH L 78.3% C 0.175 H 125.4°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#9ECB39
RGBrgb(158, 203, 57)
HSLhsl(78, 58%, 51%)
HSVhsv(78, 72%, 80%)
CMYKcmyk(22.2%, 0%, 71.9%, 20.4%)
CIE-LABlab(76.24, -35.16, 64.04)
CIE-LCHlch(76.24, 73.06, 118.77°)
OKLaboklab(78.32% -0.1016 0.1431)
OKLCHoklch(78.32% 0.176 125.4)
XYZxyz(36.1953, 50.2759, 11.6674)
Luminance0.5028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECB39 #6639CB
analogous
#CBAF39 #9ECB39 #55CB39
triadic
#9ECB39 #399ECB #CB399E
tetradic
#9ECB39 #39CBAF #6639CB #CB3955
square
#9ECB39 #39CBAF #6639CB #CB3955
split-complementary
#9ECB39 #3955CB #AF39CB
monochromatic
#546D1D #7A9D29 #9ECB39 #B6D869 #CDE49A

Accessibility & contrast

On white

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

On black

11.06
#9ECB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECB39
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECB39#FFFFFF#000000##000000
##9ECB391.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE1E
Deuteranopia (green-blind)
#D0BB46
Tritanopia (blue-blind)
#A5C1AF
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #9ecb39;
/* rgb */ color: rgb(158, 203, 57);
/* oklch */ color: oklch(78.3% 0.175 125.4);
Tailwind
colors: {
  custom: {
    50: '#bedb79',
    500: '#9ecb39',
    950: '#000000',
  },
}
SCSS
$custom: #9ecb39;
$custom-light: #bedb79;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecb39",
  "rgb": {
    "r": 158,
    "g": 203,
    "b": 57
  },
  "hsl": {
    "h": 78.493,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78321,
    "c": 0.1755,
    "h": 125.4
  },
  "luminance": 0.50276
}

Semantic roles & 50–950 ramp

primary
#9ECB39
secondary
#473276
accent
#46E276
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9ECB39

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

Preview Lab → · Contrast checker → · Palette generator →

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