#9EC438#9EC438

#9EC438 is a light, vivid yellow-green. Relative luminance 0.470; OKLCH L 76.7% C 0.168 H 123.7°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#9EC438
RGBrgb(158, 196, 56)
HSLhsl(76, 56%, 49%)
HSVhsv(76, 71%, 77%)
CMYKcmyk(19.4%, 0%, 71.4%, 23.1%)
CIE-LABlab(74.21, -31.99, 62.39)
CIE-LCHlch(74.21, 70.11, 117.14°)
OKLaboklab(76.68% -0.093 0.1395)
OKLCHoklch(76.68% 0.168 123.7)
XYZxyz(34.5547, 47.0342, 10.9987)
Luminance0.4703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC438 #5E38C4
analogous
#C4A438 #9EC438 #58C438
triadic
#9EC438 #389EC4 #C4389E
tetradic
#9EC438 #38C4A4 #5E38C4 #C43858
square
#9EC438 #38C4A4 #5E38C4 #C43858
split-complementary
#9EC438 #3858C4 #A438C4
monochromatic
#51651D #78942A #9EC438 #B6D366 #CCE196

Accessibility & contrast

On white

2.02
#9EC438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#9EC438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC438
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC438#FFFFFF#000000##000000
##9EC4381.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB81F
Deuteranopia (green-blind)
#CAB644
Tritanopia (blue-blind)
#A6BAA9
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #9ec438;
/* rgb */ color: rgb(158, 196, 56);
/* oklch */ color: oklch(76.7% 0.168 123.7);
Tailwind
colors: {
  custom: {
    50: '#bed678',
    500: '#9ec438',
    950: '#000000',
  },
}
SCSS
$custom: #9ec438;
$custom-light: #bed678;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec438",
  "rgb": {
    "r": 158,
    "g": 196,
    "b": 56
  },
  "hsl": {
    "h": 76.286,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.76679,
    "c": 0.16764,
    "h": 123.7
  },
  "luminance": 0.47034
}

Semantic roles & 50–950 ramp

primary
#9EC438
secondary
#9D8CCC
accent
#49DF72
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#131409
muted
#82837B

Preview Lab

Preview with #9EC438

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

Preview Lab → · Contrast checker → · Palette generator →

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