#9BC840#9BC840

#9BC840 is a light, vivid yellow-green. Relative luminance 0.486; OKLCH L 77.5% C 0.169 H 126.0°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#9BC840
RGBrgb(155, 200, 64)
HSLhsl(80, 55%, 52%)
HSVhsv(80, 68%, 78%)
CMYKcmyk(22.5%, 0%, 68%, 21.6%)
CIE-LABlab(75.23, -34.52, 60.38)
CIE-LCHlch(75.23, 69.55, 119.76°)
OKLaboklab(77.47% -0.0991 0.1365)
OKLCHoklch(77.47% 0.169 126)
XYZxyz(35.0974, 48.6468, 12.3902)
Luminance0.4865 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BC840 #6D40C8
analogous
#C8B140 #9BC840 #57C840
triadic
#9BC840 #409BC8 #C8409B
tetradic
#9BC840 #40C8B1 #6D40C8 #C84057
square
#9BC840 #40C8B1 #6D40C8 #C84057
split-complementary
#9BC840 #4057C8 #B140C8
monochromatic
#546E20 #789D2D #9BC840 #B4D670 #CDE39F

Accessibility & contrast

On white

1.96
#9BC840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#9BC840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BC840
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BC840#FFFFFF#000000##000000
##9BC8401.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2C
Deuteranopia (green-blind)
#CCB94B
Tritanopia (blue-blind)
#A1BFAD
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #9bc840;
/* rgb */ color: rgb(155, 200, 64);
/* oklch */ color: oklch(77.5% 0.169 126.0);
Tailwind
colors: {
  custom: {
    50: '#bcd97c',
    500: '#9bc840',
    950: '#000000',
  },
}
SCSS
$custom: #9bc840;
$custom-light: #bcd97c;
$custom-dark: #000000;
JSON
{
  "hex": "#9bc840",
  "rgb": {
    "r": 155,
    "g": 200,
    "b": 64
  },
  "hsl": {
    "h": 79.853,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.77472,
    "c": 0.16868,
    "h": 126
  },
  "luminance": 0.48647
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9BC840

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

Preview Lab → · Contrast checker → · Palette generator →

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