#9BCF40#9BCF40

#9BCF40 is a light, vivid yellow-green. Relative luminance 0.520; OKLCH L 79.1% C 0.177 H 127.4°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#9BCF40
RGBrgb(155, 207, 64)
HSLhsl(82, 60%, 53%)
HSVhsv(82, 69%, 81%)
CMYKcmyk(25.1%, 0%, 69.1%, 18.8%)
CIE-LABlab(77.26, -37.70, 62.45)
CIE-LCHlch(77.26, 72.95, 121.12°)
OKLaboklab(79.12% -0.1078 0.1409)
OKLCHoklch(79.12% 0.177 127.4)
XYZxyz(36.7558, 51.9637, 12.9430)
Luminance0.5196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BCF40 #7440CF
analogous
#CFBB40 #9BCF40 #53CF40
triadic
#9BCF40 #409BCF #CF409B
tetradic
#9BCF40 #40CFBB #7440CF #CF4053
square
#9BCF40 #40CFBB #7440CF #CF4053
split-complementary
#9BCF40 #4053CF #BB40CF
monochromatic
#56771E #7AA82A #9BCF40 #B5DB71 #CEE8A2

Accessibility & contrast

On white

1.84
#9BCF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#9BCF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BCF40
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BCF40#FFFFFF#000000##000000
##9BCF401.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C129
Deuteranopia (green-blind)
#D2BE4C
Tritanopia (blue-blind)
#A1C6B3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #9bcf40;
/* rgb */ color: rgb(155, 207, 64);
/* oklch */ color: oklch(79.1% 0.177 127.4);
Tailwind
colors: {
  custom: {
    50: '#bcde7d',
    500: '#9bcf40',
    950: '#000000',
  },
}
SCSS
$custom: #9bcf40;
$custom-light: #bcde7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9bcf40",
  "rgb": {
    "r": 155,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 81.818,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79115,
    "c": 0.17739,
    "h": 127.4
  },
  "luminance": 0.51964
}

Semantic roles & 50–950 ramp

primary
#9BCF40
secondary
#4F347F
accent
#45E37E
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #9BCF40

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

Preview Lab → · Contrast checker → · Palette generator →

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