#9BC640#9BC640

#9BC640 is a light, vivid yellow-green. Relative luminance 0.477; OKLCH L 77.0% C 0.166 H 125.5°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#9BC640
RGBrgb(155, 198, 64)
HSLhsl(79, 54%, 51%)
HSVhsv(79, 68%, 78%)
CMYKcmyk(21.7%, 0%, 67.7%, 22.4%)
CIE-LABlab(74.65, -33.60, 59.78)
CIE-LCHlch(74.65, 68.58, 119.34°)
OKLaboklab(77% -0.0966 0.1353)
OKLCHoklch(77% 0.166 125.5)
XYZxyz(34.6372, 47.7265, 12.2368)
Luminance0.4773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BC640 #6B40C6
analogous
#C6AE40 #9BC640 #58C640
triadic
#9BC640 #409BC6 #C6409B
tetradic
#9BC640 #40C6AE #6B40C6 #C64058
square
#9BC640 #40C6AE #6B40C6 #C64058
split-complementary
#9BC640 #4058C6 #AE40C6
monochromatic
#536C20 #789B2E #9BC640 #B4D46F #CCE29E

Accessibility & contrast

On white

1.99
#9BC640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#9BC640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BC640
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BC640#FFFFFF#000000##000000
##9BC6401.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92C
Deuteranopia (green-blind)
#CBB74B
Tritanopia (blue-blind)
#A2BDAB
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #9bc640;
/* rgb */ color: rgb(155, 198, 64);
/* oklch */ color: oklch(77.0% 0.166 125.5);
Tailwind
colors: {
  custom: {
    50: '#bcd77c',
    500: '#9bc640',
    950: '#000000',
  },
}
SCSS
$custom: #9bc640;
$custom-light: #bcd77c;
$custom-dark: #000000;
JSON
{
  "hex": "#9bc640",
  "rgb": {
    "r": 155,
    "g": 198,
    "b": 64
  },
  "hsl": {
    "h": 79.254,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.77003,
    "c": 0.16619,
    "h": 125.5
  },
  "luminance": 0.47727
}

Semantic roles & 50–950 ramp

primary
#9BC640
secondary
#A693CE
accent
#4ADD7A
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9BC640

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

Preview Lab → · Contrast checker → · Palette generator →

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