#9DC731#9DC731

#9DC731 is a light, vivid yellow-green. Relative luminance 0.482; OKLCH L 77.3% C 0.176 H 124.5°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#9DC731
RGBrgb(157, 199, 49)
HSLhsl(77, 60%, 49%)
HSVhsv(77, 75%, 78%)
CMYKcmyk(21.1%, 0%, 75.4%, 22%)
CIE-LABlab(74.97, -34.15, 65.49)
CIE-LCHlch(74.97, 73.86, 117.54°)
OKLaboklab(77.27% -0.0994 0.1449)
OKLCHoklch(77.27% 0.176 124.5)
XYZxyz(34.8828, 48.2363, 10.3779)
Luminance0.4824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DC731 #5B31C7
analogous
#C7A631 #9DC731 #52C731
triadic
#9DC731 #319DC7 #C7319D
tetradic
#9DC731 #31C7A6 #5B31C7 #C73152
square
#9DC731 #31C7A6 #5B31C7 #C73152
split-complementary
#9DC731 #3152C7 #A631C7
monochromatic
#506519 #769625 #9DC731 #B5D75E #CCE38F

Accessibility & contrast

On white

1.97
#9DC731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#9DC731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DC731
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DC731#FFFFFF#000000##000000
##9DC7311.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA0C
Deuteranopia (green-blind)
#CDB83F
Tritanopia (blue-blind)
#A5BDAB
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #9dc731;
/* rgb */ color: rgb(157, 199, 49);
/* oklch */ color: oklch(77.3% 0.176 124.5);
Tailwind
colors: {
  custom: {
    50: '#bed875',
    500: '#9dc731',
    950: '#000000',
  },
}
SCSS
$custom: #9dc731;
$custom-light: #bed875;
$custom-dark: #000000;
JSON
{
  "hex": "#9dc731",
  "rgb": {
    "r": 157,
    "g": 199,
    "b": 49
  },
  "hsl": {
    "h": 76.8,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.77266,
    "c": 0.17573,
    "h": 124.5
  },
  "luminance": 0.48237
}

Semantic roles & 50–950 ramp

primary
#9DC731
secondary
#9A86CE
accent
#44E471
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #9DC731

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

Preview Lab → · Contrast checker → · Palette generator →

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