#9DCD38#9DCD38

#9DCD38 is a light, vivid yellow-green. Relative luminance 0.511; OKLCH L 78.7% C 0.179 H 126.1°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#9DCD38
RGBrgb(157, 205, 56)
HSLhsl(79, 60%, 51%)
HSVhsv(79, 73%, 80%)
CMYKcmyk(23.4%, 0%, 72.7%, 19.6%)
CIE-LABlab(76.75, -36.52, 64.86)
CIE-LCHlch(76.75, 74.44, 119.38°)
OKLaboklab(78.72% -0.1053 0.1447)
OKLCHoklch(78.72% 0.179 126.1)
XYZxyz(36.4500, 51.1157, 11.6866)
Luminance0.5112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DCD38 #6838CD
analogous
#CDB238 #9DCD38 #52CD38
triadic
#9DCD38 #389DCD #CD389D
tetradic
#9DCD38 #38CDB2 #6838CD #CD3852
square
#9DCD38 #38CDB2 #6838CD #CD3852
split-complementary
#9DCD38 #3852CD #B238CD
monochromatic
#546F1C #79A028 #9DCD38 #B5D969 #CDE69A

Accessibility & contrast

On white

1.87
#9DCD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#9DCD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DCD38
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DCD38#FFFFFF#000000##000000
##9DCD381.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF1B
Deuteranopia (green-blind)
#D1BD46
Tritanopia (blue-blind)
#A4C3B0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9dcd38;
/* rgb */ color: rgb(157, 205, 56);
/* oklch */ color: oklch(78.7% 0.179 126.1);
Tailwind
colors: {
  custom: {
    50: '#bedc79',
    500: '#9dcd38',
    950: '#000000',
  },
}
SCSS
$custom: #9dcd38;
$custom-light: #bedc79;
$custom-dark: #000000;
JSON
{
  "hex": "#9dcd38",
  "rgb": {
    "r": 157,
    "g": 205,
    "b": 56
  },
  "hsl": {
    "h": 79.329,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78717,
    "c": 0.17897,
    "h": 126.1
  },
  "luminance": 0.51116
}

Semantic roles & 50–950 ramp

primary
#9DCD38
secondary
#483178
accent
#45E378
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9DCD38

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

Preview Lab → · Contrast checker → · Palette generator →

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