#9DC331#9DC331

#9DC331 is a light, vivid yellow-green. Relative luminance 0.464; OKLCH L 76.3% C 0.171 H 123.5°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#9DC331
RGBrgb(157, 195, 49)
HSLhsl(76, 60%, 48%)
HSVhsv(76, 75%, 76%)
CMYKcmyk(19.5%, 0%, 74.9%, 23.5%)
CIE-LABlab(73.82, -32.30, 64.40)
CIE-LCHlch(73.82, 72.04, 116.63°)
OKLaboklab(76.33% -0.0943 0.1426)
OKLCHoklch(76.33% 0.171 123.5)
XYZxyz(33.9745, 46.4198, 10.0752)
Luminance0.4642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DC331 #5731C3
analogous
#C3A031 #9DC331 #54C331
triadic
#9DC331 #319DC3 #C3319D
tetradic
#9DC331 #31C3A0 #5731C3 #C33154
square
#9DC331 #31C3A0 #5731C3 #C33154
split-complementary
#9DC331 #3154C3 #A031C3
monochromatic
#4E6118 #769225 #9DC331 #B6D65B #CCE28C

Accessibility & contrast

On white

2.04
#9DC331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#9DC331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DC331
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DC331#FFFFFF#000000##000000
##9DC3311.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB70F
Deuteranopia (green-blind)
#C9B53F
Tritanopia (blue-blind)
#A5B9A7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #9dc331;
/* rgb */ color: rgb(157, 195, 49);
/* oklch */ color: oklch(76.3% 0.171 123.5);
Tailwind
colors: {
  custom: {
    50: '#bed574',
    500: '#9dc331',
    950: '#000000',
  },
}
SCSS
$custom: #9dc331;
$custom-light: #bed574;
$custom-dark: #000000;
JSON
{
  "hex": "#9dc331",
  "rgb": {
    "r": 157,
    "g": 195,
    "b": 49
  },
  "hsl": {
    "h": 75.616,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.7633,
    "c": 0.17099,
    "h": 123.5
  },
  "luminance": 0.4642
}

Semantic roles & 50–950 ramp

primary
#9DC331
secondary
#9683CC
accent
#45E36E
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #9DC331

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

Preview Lab → · Contrast checker → · Palette generator →

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