#9DC831#9DC831

#9DC831 is a light, vivid yellow-green. Relative luminance 0.487; OKLCH L 77.5% C 0.177 H 124.7°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#9DC831
RGBrgb(157, 200, 49)
HSLhsl(77, 61%, 49%)
HSVhsv(77, 76%, 78%)
CMYKcmyk(21.5%, 0%, 75.5%, 21.6%)
CIE-LABlab(75.26, -34.61, 65.77)
CIE-LCHlch(75.26, 74.32, 117.75°)
OKLaboklab(77.5% -0.1007 0.1455)
OKLCHoklch(77.5% 0.177 124.7)
XYZxyz(35.1136, 48.6980, 10.4549)
Luminance0.4870 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DC831 #5C31C8
analogous
#C8A831 #9DC831 #52C831
triadic
#9DC831 #319DC8 #C8319D
tetradic
#9DC831 #31C8A8 #5C31C8 #C83152
square
#9DC831 #31C8A8 #5C31C8 #C83152
split-complementary
#9DC831 #3152C8 #A831C8
monochromatic
#506619 #769725 #9DC831 #B5D85F #CCE490

Accessibility & contrast

On white

1.96
#9DC831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#9DC831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DC831
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DC831#FFFFFF#000000##000000
##9DC8311.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB0B
Deuteranopia (green-blind)
#CEB940
Tritanopia (blue-blind)
#A4BEAC
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #9dc831;
/* rgb */ color: rgb(157, 200, 49);
/* oklch */ color: oklch(77.5% 0.177 124.7);
Tailwind
colors: {
  custom: {
    50: '#bed875',
    500: '#9dc831',
    950: '#000000',
  },
}
SCSS
$custom: #9dc831;
$custom-light: #bed875;
$custom-dark: #000000;
JSON
{
  "hex": "#9dc831",
  "rgb": {
    "r": 157,
    "g": 200,
    "b": 49
  },
  "hsl": {
    "h": 77.086,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.775,
    "c": 0.17692,
    "h": 124.7
  },
  "luminance": 0.48698
}

Semantic roles & 50–950 ramp

primary
#9DC831
secondary
#9B86CE
accent
#44E472
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #9DC831

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

Preview Lab → · Contrast checker → · Palette generator →

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