#9DCB38#9DCB38

#9DCB38 is a light, vivid yellow-green. Relative luminance 0.502; OKLCH L 78.2% C 0.177 H 125.6°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#9DCB38
RGBrgb(157, 203, 56)
HSLhsl(79, 59%, 51%)
HSVhsv(79, 72%, 80%)
CMYKcmyk(22.7%, 0%, 72.4%, 20.4%)
CIE-LABlab(76.17, -35.61, 64.30)
CIE-LCHlch(76.17, 73.50, 118.98°)
OKLaboklab(78.25% -0.1029 0.1435)
OKLCHoklch(78.25% 0.177 125.6)
XYZxyz(35.9746, 50.1650, 11.5281)
Luminance0.5017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DCB38 #6638CB
analogous
#CBB038 #9DCB38 #53CB38
triadic
#9DCB38 #389DCB #CB389D
tetradic
#9DCB38 #38CBB0 #6638CB #CB3853
square
#9DCB38 #38CBB0 #6638CB #CB3853
split-complementary
#9DCB38 #3853CB #B038CB
monochromatic
#536C1C #799D29 #9DCB38 #B5D869 #CDE499

Accessibility & contrast

On white

1.90
#9DCB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#9DCB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DCB38
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DCB38#FFFFFF#000000##000000
##9DCB381.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE1C
Deuteranopia (green-blind)
#D0BB45
Tritanopia (blue-blind)
#A4C1AF
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #9dcb38;
/* rgb */ color: rgb(157, 203, 56);
/* oklch */ color: oklch(78.2% 0.177 125.6);
Tailwind
colors: {
  custom: {
    50: '#bedb78',
    500: '#9dcb38',
    950: '#000000',
  },
}
SCSS
$custom: #9dcb38;
$custom-light: #bedb78;
$custom-dark: #000000;
JSON
{
  "hex": "#9dcb38",
  "rgb": {
    "r": 157,
    "g": 203,
    "b": 56
  },
  "hsl": {
    "h": 78.776,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78248,
    "c": 0.17656,
    "h": 125.6
  },
  "luminance": 0.50165
}

Semantic roles & 50–950 ramp

primary
#9DCB38
secondary
#473176
accent
#46E277
background
#FDFEFB
surface
#F9FBF1
border
#D2D4CB
text
#13150A
muted
#82847D

Preview Lab

Preview with #9DCB38

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

Preview Lab → · Contrast checker → · Palette generator →

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