#9ED331#9ED331

#9ED331 is a light, vivid yellow-green. Relative luminance 0.541; OKLCH L 80.1% C 0.189 H 126.7°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#9ED331
RGBrgb(158, 211, 49)
HSLhsl(80, 65%, 51%)
HSVhsv(80, 77%, 83%)
CMYKcmyk(25.1%, 0%, 76.8%, 17.3%)
CIE-LABlab(78.51, -39.18, 68.83)
CIE-LCHlch(78.51, 79.20, 119.65°)
OKLaboklab(80.15% -0.1132 0.1519)
OKLCHoklch(80.15% 0.189 126.7)
XYZxyz(37.9494, 54.0787, 11.3440)
Luminance0.5408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ED331 #6631D3
analogous
#D3B731 #9ED331 #4DD331
triadic
#9ED331 #319ED3 #D3319E
tetradic
#9ED331 #31D3B7 #6631D3 #D3314D
square
#9ED331 #31D3B7 #6631D3 #D3314D
split-complementary
#9ED331 #314DD3 #B731D3
monochromatic
#547118 #7AA423 #9ED331 #B6DE63 #CDE996

Accessibility & contrast

On white

1.78
#9ED331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#9ED331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ED331
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ED331#FFFFFF#000000##000000
##9ED3311.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC400
Deuteranopia (green-blind)
#D7C142
Tritanopia (blue-blind)
#A5C9B5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #9ed331;
/* rgb */ color: rgb(158, 211, 49);
/* oklch */ color: oklch(80.1% 0.189 126.7);
Tailwind
colors: {
  custom: {
    50: '#bfe076',
    500: '#9ed331',
    950: '#000000',
  },
}
SCSS
$custom: #9ed331;
$custom-light: #bfe076;
$custom-dark: #000000;
JSON
{
  "hex": "#9ed331",
  "rgb": {
    "r": 158,
    "g": 211,
    "b": 49
  },
  "hsl": {
    "h": 79.63,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.80147,
    "c": 0.18945,
    "h": 126.7
  },
  "luminance": 0.54079
}

Semantic roles & 50–950 ramp

primary
#9ED331
secondary
#472E7A
accent
#40E877
background
#FDFEFB
surface
#F9FCF1
border
#D2D5CB
text
#131509
muted
#82847D

Preview Lab

Preview with #9ED331

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

Preview Lab → · Contrast checker → · Palette generator →

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