#9DCF40#9DCF40

#9DCF40 is a light, vivid yellow-green. Relative luminance 0.522; OKLCH L 79.2% C 0.176 H 126.9°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#9DCF40
RGBrgb(157, 207, 64)
HSLhsl(81, 60%, 53%)
HSVhsv(81, 69%, 81%)
CMYKcmyk(24.2%, 0%, 69.1%, 18.8%)
CIE-LABlab(77.38, -36.94, 62.61)
CIE-LCHlch(77.38, 72.70, 120.54°)
OKLaboklab(79.24% -0.1058 0.1412)
OKLCHoklch(79.24% 0.176 126.9)
XYZxyz(37.1430, 52.1633, 12.9611)
Luminance0.5216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DCF40 #7240CF
analogous
#CFB940 #9DCF40 #55CF40
triadic
#9DCF40 #409DCF #CF409D
tetradic
#9DCF40 #40CFB9 #7240CF #CF4055
square
#9DCF40 #40CFB9 #7240CF #CF4055
split-complementary
#9DCF40 #4055CF #B940CF
monochromatic
#58771E #7CA82A #9DCF40 #B6DB71 #CFE8A2

Accessibility & contrast

On white

1.84
#9DCF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#9DCF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DCF40
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DCF40#FFFFFF#000000##000000
##9DCF401.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC129
Deuteranopia (green-blind)
#D3BE4C
Tritanopia (blue-blind)
#A3C6B3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #9dcf40;
/* rgb */ color: rgb(157, 207, 64);
/* oklch */ color: oklch(79.2% 0.176 126.9);
Tailwind
colors: {
  custom: {
    50: '#bede7d',
    500: '#9dcf40',
    950: '#000000',
  },
}
SCSS
$custom: #9dcf40;
$custom-light: #bede7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9dcf40",
  "rgb": {
    "r": 157,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 80.979,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79243,
    "c": 0.17645,
    "h": 126.9
  },
  "luminance": 0.52164
}

Semantic roles & 50–950 ramp

primary
#9DCF40
secondary
#4E347F
accent
#45E37C
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #9DCF40

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

Preview Lab → · Contrast checker → · Palette generator →

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