#9ECC38#9ECC38

#9ECC38 is a light, vivid yellow-green. Relative luminance 0.507; OKLCH L 78.5% C 0.177 H 125.6°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#9ECC38
RGBrgb(158, 204, 56)
HSLhsl(79, 59%, 51%)
HSVhsv(79, 73%, 80%)
CMYKcmyk(22.5%, 0%, 72.5%, 20%)
CIE-LABlab(76.52, -35.67, 64.66)
CIE-LCHlch(76.52, 73.85, 118.89°)
OKLaboklab(78.55% -0.1031 0.1443)
OKLCHoklch(78.55% 0.177 125.6)
XYZxyz(36.4075, 50.7399, 11.6163)
Luminance0.5074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECC38 #6638CC
analogous
#CCB038 #9ECC38 #54CC38
triadic
#9ECC38 #389ECC #CC389E
tetradic
#9ECC38 #38CCB0 #6638CC #CC3854
square
#9ECC38 #38CCB0 #6638CC #CC3854
split-complementary
#9ECC38 #3854CC #B038CC
monochromatic
#546E1C #7A9E29 #9ECC38 #B6D869 #CDE599

Accessibility & contrast

On white

1.88
#9ECC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#9ECC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECC38
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECC38#FFFFFF#000000##000000
##9ECC381.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE1B
Deuteranopia (green-blind)
#D1BC45
Tritanopia (blue-blind)
#A5C2AF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9ecc38;
/* rgb */ color: rgb(158, 204, 56);
/* oklch */ color: oklch(78.5% 0.177 125.6);
Tailwind
colors: {
  custom: {
    50: '#bfdb79',
    500: '#9ecc38',
    950: '#000000',
  },
}
SCSS
$custom: #9ecc38;
$custom-light: #bfdb79;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecc38",
  "rgb": {
    "r": 158,
    "g": 204,
    "b": 56
  },
  "hsl": {
    "h": 78.649,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78548,
    "c": 0.17731,
    "h": 125.6
  },
  "luminance": 0.5074
}

Semantic roles & 50–950 ramp

primary
#9ECC38
secondary
#473177
accent
#45E276
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9ECC38

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

Preview Lab → · Contrast checker → · Palette generator →

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