#9ECD38#9ECD38

#9ECD38 is a light, vivid yellow-green. Relative luminance 0.512; OKLCH L 78.8% C 0.179 H 125.8°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#9ECD38
RGBrgb(158, 205, 56)
HSLhsl(79, 60%, 51%)
HSVhsv(79, 73%, 80%)
CMYKcmyk(22.9%, 0%, 72.7%, 19.6%)
CIE-LABlab(76.81, -36.13, 64.95)
CIE-LCHlch(76.81, 74.32, 119.09°)
OKLaboklab(78.78% -0.1043 0.1448)
OKLCHoklch(78.78% 0.179 125.8)
XYZxyz(36.6459, 51.2167, 11.6958)
Luminance0.5122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECD38 #6738CD
analogous
#CDB138 #9ECD38 #53CD38
triadic
#9ECD38 #389ECD #CD389E
tetradic
#9ECD38 #38CDB1 #6738CD #CD3853
square
#9ECD38 #38CDB1 #6738CD #CD3853
split-complementary
#9ECD38 #3853CD #B138CD
monochromatic
#556F1C #7AA028 #9ECD38 #B6D969 #CEE69A

Accessibility & contrast

On white

1.87
#9ECD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#9ECD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECD38
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECD38#FFFFFF#000000##000000
##9ECD381.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF1B
Deuteranopia (green-blind)
#D2BD46
Tritanopia (blue-blind)
#A5C3B0
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #9ecd38;
/* rgb */ color: rgb(158, 205, 56);
/* oklch */ color: oklch(78.8% 0.179 125.8);
Tailwind
colors: {
  custom: {
    50: '#bfdc79',
    500: '#9ecd38',
    950: '#000000',
  },
}
SCSS
$custom: #9ecd38;
$custom-light: #bfdc79;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecd38",
  "rgb": {
    "r": 158,
    "g": 205,
    "b": 56
  },
  "hsl": {
    "h": 78.926,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78782,
    "c": 0.17851,
    "h": 125.8
  },
  "luminance": 0.51217
}

Semantic roles & 50–950 ramp

primary
#9ECD38
secondary
#483178
accent
#45E377
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9ECD38

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

Preview Lab → · Contrast checker → · Palette generator →

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