#9BC940#9BC940

#9BC940 is a light, vivid yellow-green. Relative luminance 0.491; OKLCH L 77.7% C 0.170 H 126.2°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#9BC940
RGBrgb(155, 201, 64)
HSLhsl(80, 56%, 52%)
HSVhsv(80, 68%, 79%)
CMYKcmyk(22.9%, 0%, 68.2%, 21.2%)
CIE-LABlab(75.52, -34.98, 60.68)
CIE-LCHlch(75.52, 70.04, 119.96°)
OKLaboklab(77.71% -0.1003 0.1371)
OKLCHoklch(77.71% 0.17 126.2)
XYZxyz(35.3298, 49.1115, 12.4676)
Luminance0.4911 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BC940 #6E40C9
analogous
#C9B340 #9BC940 #57C940
triadic
#9BC940 #409BC9 #C9409B
tetradic
#9BC940 #40C9B3 #6E40C9 #C94057
square
#9BC940 #40C9B3 #6E40C9 #C94057
split-complementary
#9BC940 #4057C9 #B340C9
monochromatic
#546F1F #799F2D #9BC940 #B4D670 #CDE49F

Accessibility & contrast

On white

1.94
#9BC940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#9BC940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BC940
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BC940#FFFFFF#000000##000000
##9BC9401.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9bc940;
/* rgb */ color: rgb(155, 201, 64);
/* oklch */ color: oklch(77.7% 0.170 126.2);
Tailwind
colors: {
  custom: {
    50: '#bcd97c',
    500: '#9bc940',
    950: '#000000',
  },
}
SCSS
$custom: #9bc940;
$custom-light: #bcd97c;
$custom-dark: #000000;
JSON
{
  "hex": "#9bc940",
  "rgb": {
    "r": 155,
    "g": 201,
    "b": 64
  },
  "hsl": {
    "h": 80.146,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77706,
    "c": 0.16993,
    "h": 126.2
  },
  "luminance": 0.49112
}

Semantic roles & 50–950 ramp

primary
#9BC940
secondary
#A994D0
accent
#49DF7B
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9BC940

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

Preview Lab → · Contrast checker → · Palette generator →

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