#9DC540#9DC540

#9DC540 is a light, vivid yellow-green. Relative luminance 0.475; OKLCH L 76.9% C 0.164 H 124.6°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#9DC540
RGBrgb(157, 197, 64)
HSLhsl(78, 53%, 51%)
HSVhsv(78, 68%, 77%)
CMYKcmyk(20.3%, 0%, 67.5%, 22.7%)
CIE-LABlab(74.49, -32.36, 59.65)
CIE-LCHlch(74.49, 67.86, 118.48°)
OKLaboklab(76.9% -0.0932 0.1349)
OKLCHoklch(76.9% 0.164 124.6)
XYZxyz(34.7965, 47.4704, 12.1790)
Luminance0.4747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DC540 #6840C5
analogous
#C5AA40 #9DC540 #5AC540
triadic
#9DC540 #409DC5 #C5409D
tetradic
#9DC540 #40C5AA #6840C5 #C5405A
square
#9DC540 #40C5AA #6840C5 #C5405A
split-complementary
#9DC540 #405AC5 #AA40C5
monochromatic
#546A20 #79992F #9DC540 #B5D36F #CDE29E

Accessibility & contrast

On white

2.00
#9DC540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#9DC540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DC540
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DC540#FFFFFF#000000##000000
##9DC5401.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92D
Deuteranopia (green-blind)
#CAB74B
Tritanopia (blue-blind)
#A4BCAA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #9dc540;
/* rgb */ color: rgb(157, 197, 64);
/* oklch */ color: oklch(76.9% 0.164 124.6);
Tailwind
colors: {
  custom: {
    50: '#bdd67c',
    500: '#9dc540',
    950: '#000000',
  },
}
SCSS
$custom: #9dc540;
$custom-light: #bdd67c;
$custom-dark: #000000;
JSON
{
  "hex": "#9dc540",
  "rgb": {
    "r": 157,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 78.045,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76904,
    "c": 0.16403,
    "h": 124.6
  },
  "luminance": 0.47471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9DC540

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

Preview Lab → · Contrast checker → · Palette generator →

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