#9DC840#9DC840

#9DC840 is a light, vivid yellow-green. Relative luminance 0.488; OKLCH L 77.6% C 0.168 H 125.4°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#9DC840
RGBrgb(157, 200, 64)
HSLhsl(79, 55%, 52%)
HSVhsv(79, 68%, 78%)
CMYKcmyk(21.5%, 0%, 68%, 21.6%)
CIE-LABlab(75.36, -33.75, 60.55)
CIE-LCHlch(75.36, 69.31, 119.13°)
OKLaboklab(77.61% -0.0971 0.1368)
OKLCHoklch(77.61% 0.168 125.4)
XYZxyz(35.4845, 48.8464, 12.4083)
Luminance0.4885 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DC840 #6B40C8
analogous
#C8AF40 #9DC840 #59C840
triadic
#9DC840 #409DC8 #C8409D
tetradic
#9DC840 #40C8AF #6B40C8 #C84059
square
#9DC840 #40C8AF #6B40C8 #C84059
split-complementary
#9DC840 #4059C8 #AF40C8
monochromatic
#556E20 #7A9D2D #9DC840 #B5D670 #CEE39F

Accessibility & contrast

On white

1.95
#9DC840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#9DC840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DC840
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DC840#FFFFFF#000000##000000
##9DC8401.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB2C
Deuteranopia (green-blind)
#CDB94B
Tritanopia (blue-blind)
#A4BFAD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #9dc840;
/* rgb */ color: rgb(157, 200, 64);
/* oklch */ color: oklch(77.6% 0.168 125.4);
Tailwind
colors: {
  custom: {
    50: '#bdd97c',
    500: '#9dc840',
    950: '#000000',
  },
}
SCSS
$custom: #9dc840;
$custom-light: #bdd97c;
$custom-dark: #000000;
JSON
{
  "hex": "#9dc840",
  "rgb": {
    "r": 157,
    "g": 200,
    "b": 64
  },
  "hsl": {
    "h": 78.971,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.77605,
    "c": 0.16776,
    "h": 125.4
  },
  "luminance": 0.48847
}

Semantic roles & 50–950 ramp

primary
#9DC840
secondary
#A794D0
accent
#49DF78
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9DC840

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

Preview Lab → · Contrast checker → · Palette generator →

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