#9DCC38#9DCC38

#9DCC38 is a light, vivid yellow-green. Relative luminance 0.506; OKLCH L 78.5% C 0.178 H 125.8°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#9DCC38
RGBrgb(157, 204, 56)
HSLhsl(79, 59%, 51%)
HSVhsv(79, 73%, 80%)
CMYKcmyk(23%, 0%, 72.5%, 20%)
CIE-LABlab(76.46, -36.06, 64.58)
CIE-LCHlch(76.46, 73.97, 119.18°)
OKLaboklab(78.48% -0.1041 0.1441)
OKLCHoklch(78.48% 0.178 125.8)
XYZxyz(36.2115, 50.6388, 11.6071)
Luminance0.5064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DCC38 #6738CC
analogous
#CCB138 #9DCC38 #53CC38
triadic
#9DCC38 #389DCC #CC389D
tetradic
#9DCC38 #38CCB1 #6738CC #CC3853
square
#9DCC38 #38CCB1 #6738CC #CC3853
split-complementary
#9DCC38 #3853CC #B138CC
monochromatic
#546E1C #799E29 #9DCC38 #B5D869 #CDE599

Accessibility & contrast

On white

1.89
#9DCC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#9DCC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DCC38
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DCC38#FFFFFF#000000##000000
##9DCC381.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE1B
Deuteranopia (green-blind)
#D1BC45
Tritanopia (blue-blind)
#A4C2AF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9dcc38;
/* rgb */ color: rgb(157, 204, 56);
/* oklch */ color: oklch(78.5% 0.178 125.8);
Tailwind
colors: {
  custom: {
    50: '#bedb78',
    500: '#9dcc38',
    950: '#000000',
  },
}
SCSS
$custom: #9dcc38;
$custom-light: #bedb78;
$custom-dark: #000000;
JSON
{
  "hex": "#9dcc38",
  "rgb": {
    "r": 157,
    "g": 204,
    "b": 56
  },
  "hsl": {
    "h": 79.054,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78482,
    "c": 0.17777,
    "h": 125.8
  },
  "luminance": 0.50639
}

Semantic roles & 50–950 ramp

primary
#9DCC38
secondary
#473177
accent
#45E277
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9DCC38

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

Preview Lab → · Contrast checker → · Palette generator →

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