#9DCA40#9DCA40

#9DCA40 is a light, vivid yellow-green. Relative luminance 0.498; OKLCH L 78.1% C 0.170 H 125.8°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#9DCA40
RGBrgb(157, 202, 64)
HSLhsl(80, 57%, 52%)
HSVhsv(80, 68%, 79%)
CMYKcmyk(22.3%, 0%, 68.3%, 20.8%)
CIE-LABlab(75.93, -34.67, 61.14)
CIE-LCHlch(75.93, 70.28, 119.55°)
OKLaboklab(78.07% -0.0996 0.1381)
OKLCHoklch(78.07% 0.17 125.8)
XYZxyz(35.9507, 49.7788, 12.5637)
Luminance0.4978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DCA40 #6D40CA
analogous
#CAB240 #9DCA40 #58CA40
triadic
#9DCA40 #409DCA #CA409D
tetradic
#9DCA40 #40CAB2 #6D40CA #CA4058
square
#9DCA40 #40CAB2 #6D40CA #CA4058
split-complementary
#9DCA40 #4058CA #B240CA
monochromatic
#56701F #7BA02C #9DCA40 #B6D770 #CEE5A0

Accessibility & contrast

On white

1.92
#9DCA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#9DCA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DCA40
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DCA40#FFFFFF#000000##000000
##9DCA401.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2B
Deuteranopia (green-blind)
#CEBB4B
Tritanopia (blue-blind)
#A4C1AE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #9dca40;
/* rgb */ color: rgb(157, 202, 64);
/* oklch */ color: oklch(78.1% 0.170 125.8);
Tailwind
colors: {
  custom: {
    50: '#bdda7c',
    500: '#9dca40',
    950: '#000000',
  },
}
SCSS
$custom: #9dca40;
$custom-light: #bdda7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9dca40",
  "rgb": {
    "r": 157,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 79.565,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78072,
    "c": 0.17025,
    "h": 125.8
  },
  "luminance": 0.49779
}

Semantic roles & 50–950 ramp

primary
#9DCA40
secondary
#A895D1
accent
#48E079
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9DCA40

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

Preview Lab → · Contrast checker → · Palette generator →

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