#9DC938#9DC938

#9DC938 is a light, vivid yellow-green. Relative luminance 0.492; OKLCH L 77.8% C 0.174 H 125.2°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#9DC938
RGBrgb(157, 201, 56)
HSLhsl(78, 57%, 50%)
HSVhsv(78, 72%, 79%)
CMYKcmyk(21.9%, 0%, 72.1%, 21.2%)
CIE-LABlab(75.59, -34.69, 63.73)
CIE-LCHlch(75.59, 72.56, 118.56°)
OKLaboklab(77.78% -0.1003 0.1423)
OKLCHoklch(77.78% 0.174 125.2)
XYZxyz(35.5053, 49.2265, 11.3717)
Luminance0.4923 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DC938 #6438C9
analogous
#C9AC38 #9DC938 #54C938
triadic
#9DC938 #389DC9 #C9389D
tetradic
#9DC938 #38C9AC #6438C9 #C93854
square
#9DC938 #38C9AC #6438C9 #C93854
split-complementary
#9DC938 #3854C9 #AC38C9
monochromatic
#526A1D #789A2A #9DC938 #B5D668 #CCE398

Accessibility & contrast

On white

1.94
#9DC938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#9DC938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DC938
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DC938#FFFFFF#000000##000000
##9DC9381.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC1D
Deuteranopia (green-blind)
#CEBA45
Tritanopia (blue-blind)
#A4BFAD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #9dc938;
/* rgb */ color: rgb(157, 201, 56);
/* oklch */ color: oklch(77.8% 0.174 125.2);
Tailwind
colors: {
  custom: {
    50: '#bed978',
    500: '#9dc938',
    950: '#000000',
  },
}
SCSS
$custom: #9dc938;
$custom-light: #bed978;
$custom-dark: #000000;
JSON
{
  "hex": "#9dc938",
  "rgb": {
    "r": 157,
    "g": 201,
    "b": 56
  },
  "hsl": {
    "h": 78.207,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77779,
    "c": 0.17413,
    "h": 125.2
  },
  "luminance": 0.49227
}

Semantic roles & 50–950 ramp

primary
#9DC938
secondary
#A28ECF
accent
#47E176
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9DC938

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

Preview Lab → · Contrast checker → · Palette generator →

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