#9BCA40#9BCA40

#9BCA40 is a light, vivid yellow-green. Relative luminance 0.496; OKLCH L 77.9% C 0.171 H 126.4°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#9BCA40
RGBrgb(155, 202, 64)
HSLhsl(80, 57%, 52%)
HSVhsv(80, 68%, 79%)
CMYKcmyk(23.3%, 0%, 68.3%, 20.8%)
CIE-LABlab(75.81, -35.44, 60.97)
CIE-LCHlch(75.81, 70.52, 120.17°)
OKLaboklab(77.94% -0.1016 0.1378)
OKLCHoklch(77.94% 0.171 126.4)
XYZxyz(35.5636, 49.5792, 12.5456)
Luminance0.4958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BCA40 #6F40CA
analogous
#CAB440 #9BCA40 #56CA40
triadic
#9BCA40 #409BCA #CA409B
tetradic
#9BCA40 #40CAB4 #6F40CA #CA4056
square
#9BCA40 #40CAB4 #6F40CA #CA4056
split-complementary
#9BCA40 #4056CA #B440CA
monochromatic
#55701F #79A02C #9BCA40 #B4D770 #CDE5A0

Accessibility & contrast

On white

1.92
#9BCA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#9BCA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BCA40
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BCA40#FFFFFF#000000##000000
##9BCA401.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD2B
Deuteranopia (green-blind)
#CEBA4B
Tritanopia (blue-blind)
#A1C1AE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #9bca40;
/* rgb */ color: rgb(155, 202, 64);
/* oklch */ color: oklch(77.9% 0.171 126.4);
Tailwind
colors: {
  custom: {
    50: '#bcda7c',
    500: '#9bca40',
    950: '#000000',
  },
}
SCSS
$custom: #9bca40;
$custom-light: #bcda7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9bca40",
  "rgb": {
    "r": 155,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 80.435,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77941,
    "c": 0.17118,
    "h": 126.4
  },
  "luminance": 0.4958
}

Semantic roles & 50–950 ramp

primary
#9BCA40
secondary
#A995D1
accent
#48E07C
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9BCA40

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

Preview Lab → · Contrast checker → · Palette generator →

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