#9DC640#9DC640

#9DC640 is a light, vivid yellow-green. Relative luminance 0.479; OKLCH L 77.1% C 0.165 H 124.9°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#9DC640
RGBrgb(157, 198, 64)
HSLhsl(78, 54%, 51%)
HSVhsv(78, 68%, 78%)
CMYKcmyk(20.7%, 0%, 67.7%, 22.4%)
CIE-LABlab(74.78, -32.82, 59.95)
CIE-LCHlch(74.78, 68.35, 118.70°)
OKLaboklab(77.14% -0.0945 0.1356)
OKLCHoklch(77.14% 0.165 124.9)
XYZxyz(35.0244, 47.9261, 12.2549)
Luminance0.4793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DC640 #6940C6
analogous
#C6AC40 #9DC640 #5AC640
triadic
#9DC640 #409DC6 #C6409D
tetradic
#9DC640 #40C6AC #6940C6 #C6405A
square
#9DC640 #40C6AC #6940C6 #C6405A
split-complementary
#9DC640 #405AC6 #AC40C6
monochromatic
#546C20 #799B2E #9DC640 #B5D46F #CDE29E

Accessibility & contrast

On white

1.98
#9DC640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#9DC640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DC640
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DC640#FFFFFF#000000##000000
##9DC6401.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B92C
Deuteranopia (green-blind)
#CBB84B
Tritanopia (blue-blind)
#A4BDAB
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #9dc640;
/* rgb */ color: rgb(157, 198, 64);
/* oklch */ color: oklch(77.1% 0.165 124.9);
Tailwind
colors: {
  custom: {
    50: '#bdd77c',
    500: '#9dc640',
    950: '#000000',
  },
}
SCSS
$custom: #9dc640;
$custom-light: #bdd77c;
$custom-dark: #000000;
JSON
{
  "hex": "#9dc640",
  "rgb": {
    "r": 157,
    "g": 198,
    "b": 64
  },
  "hsl": {
    "h": 78.358,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.77138,
    "c": 0.16528,
    "h": 124.9
  },
  "luminance": 0.47926
}

Semantic roles & 50–950 ramp

primary
#9DC640
secondary
#A593CE
accent
#4ADD77
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9DC640

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

Preview Lab → · Contrast checker → · Palette generator →

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