#9DC338#9DC338

#9DC338 is a light, vivid yellow-green. Relative luminance 0.465; OKLCH L 76.4% C 0.167 H 123.8°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#9DC338
RGBrgb(157, 195, 56)
HSLhsl(76, 55%, 49%)
HSVhsv(76, 71%, 76%)
CMYKcmyk(19.5%, 0%, 71.3%, 23.5%)
CIE-LABlab(73.86, -31.92, 62.02)
CIE-LCHlch(73.86, 69.75, 117.23°)
OKLaboklab(76.38% -0.0927 0.1387)
OKLCHoklch(76.38% 0.167 123.8)
XYZxyz(34.1339, 46.4836, 10.9146)
Luminance0.4648 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DC338 #5E38C3
analogous
#C3A438 #9DC338 #58C338
triadic
#9DC338 #389DC3 #C3389D
tetradic
#9DC338 #38C3A4 #5E38C3 #C33858
square
#9DC338 #38C3A4 #5E38C3 #C33858
split-complementary
#9DC338 #3858C3 #A438C3
monochromatic
#50641D #77932A #9DC338 #B5D365 #CCE195

Accessibility & contrast

On white

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

On black

10.30
#9DC338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DC338
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DC338#FFFFFF#000000##000000
##9DC3381.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB71F
Deuteranopia (green-blind)
#C9B544
Tritanopia (blue-blind)
#A5B9A8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #9dc338;
/* rgb */ color: rgb(157, 195, 56);
/* oklch */ color: oklch(76.4% 0.167 123.8);
Tailwind
colors: {
  custom: {
    50: '#bdd578',
    500: '#9dc338',
    950: '#000000',
  },
}
SCSS
$custom: #9dc338;
$custom-light: #bdd578;
$custom-dark: #000000;
JSON
{
  "hex": "#9dc338",
  "rgb": {
    "r": 157,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 76.403,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76377,
    "c": 0.16687,
    "h": 123.8
  },
  "luminance": 0.46484
}

Semantic roles & 50–950 ramp

primary
#9DC338
secondary
#9D8BCC
accent
#49DF72
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#121409
muted
#81837B

Preview Lab

Preview with #9DC338

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

Preview Lab → · Contrast checker → · Palette generator →

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