#9ECA38#9ECA38

#9ECA38 is a light, vivid yellow-green. Relative luminance 0.498; OKLCH L 78.1% C 0.175 H 125.1°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#9ECA38
RGBrgb(158, 202, 56)
HSLhsl(78, 58%, 51%)
HSVhsv(78, 72%, 79%)
CMYKcmyk(21.8%, 0%, 72.3%, 20.8%)
CIE-LABlab(75.94, -34.76, 64.10)
CIE-LCHlch(75.94, 72.92, 118.47°)
OKLaboklab(78.08% -0.1006 0.1431)
OKLCHoklch(78.08% 0.175 125.1)
XYZxyz(35.9352, 49.7953, 11.4589)
Luminance0.4980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECA38 #6438CA
analogous
#CAAD38 #9ECA38 #55CA38
triadic
#9ECA38 #389ECA #CA389E
tetradic
#9ECA38 #38CAAD #6438CA #CA3855
square
#9ECA38 #38CAAD #6438CA #CA3855
split-complementary
#9ECA38 #3855CA #AD38CA
monochromatic
#536B1D #799B29 #9ECA38 #B6D768 #CDE499

Accessibility & contrast

On white

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

On black

10.96
#9ECA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECA38
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECA38#FFFFFF#000000##000000
##9ECA381.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD1C
Deuteranopia (green-blind)
#CFBB45
Tritanopia (blue-blind)
#A5C0AE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #9eca38;
/* rgb */ color: rgb(158, 202, 56);
/* oklch */ color: oklch(78.1% 0.175 125.1);
Tailwind
colors: {
  custom: {
    50: '#beda78',
    500: '#9eca38',
    950: '#000000',
  },
}
SCSS
$custom: #9eca38;
$custom-light: #beda78;
$custom-dark: #000000;
JSON
{
  "hex": "#9eca38",
  "rgb": {
    "r": 158,
    "g": 202,
    "b": 56
  },
  "hsl": {
    "h": 78.082,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7808,
    "c": 0.17489,
    "h": 125.1
  },
  "luminance": 0.49796
}

Semantic roles & 50–950 ramp

primary
#9ECA38
secondary
#A28ECF
accent
#47E175
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #9ECA38

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

Preview Lab → · Contrast checker → · Palette generator →

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