#9BC740#9BC740

#9BC740 is a light, vivid yellow-green. Relative luminance 0.482; OKLCH L 77.2% C 0.167 H 125.8°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#9BC740
RGBrgb(155, 199, 64)
HSLhsl(80, 55%, 52%)
HSVhsv(80, 68%, 78%)
CMYKcmyk(22.1%, 0%, 67.8%, 22%)
CIE-LABlab(74.94, -34.06, 60.08)
CIE-LCHlch(74.94, 69.06, 119.55°)
OKLaboklab(77.24% -0.0978 0.1359)
OKLCHoklch(77.24% 0.167 125.8)
XYZxyz(34.8666, 48.1851, 12.3132)
Luminance0.4819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BC740 #6C40C7
analogous
#C7B040 #9BC740 #58C740
triadic
#9BC740 #409BC7 #C7409B
tetradic
#9BC740 #40C7B0 #6C40C7 #C74058
square
#9BC740 #40C7B0 #6C40C7 #C74058
split-complementary
#9BC740 #4058C7 #B040C7
monochromatic
#546D20 #789C2E #9BC740 #B4D56F #CDE39F

Accessibility & contrast

On white

1.97
#9BC740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#9BC740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BC740
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BC740#FFFFFF#000000##000000
##9BC7401.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9bc740;
/* rgb */ color: rgb(155, 199, 64);
/* oklch */ color: oklch(77.2% 0.167 125.8);
Tailwind
colors: {
  custom: {
    50: '#bcd87c',
    500: '#9bc740',
    950: '#000000',
  },
}
SCSS
$custom: #9bc740;
$custom-light: #bcd87c;
$custom-dark: #000000;
JSON
{
  "hex": "#9bc740",
  "rgb": {
    "r": 155,
    "g": 199,
    "b": 64
  },
  "hsl": {
    "h": 79.556,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77237,
    "c": 0.16744,
    "h": 125.8
  },
  "luminance": 0.48186
}

Semantic roles & 50–950 ramp

primary
#9BC740
secondary
#A794CF
accent
#4ADE7A
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9BC740

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

Preview Lab → · Contrast checker → · Palette generator →

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