#9FBC40#9FBC40

#9FBC40 is a light, vivid yellow-green. Relative luminance 0.437; OKLCH L 75.0% C 0.152 H 121.5°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#9FBC40
RGBrgb(159, 188, 64)
HSLhsl(74, 49%, 49%)
HSVhsv(74, 66%, 74%)
CMYKcmyk(15.4%, 0%, 66%, 26.3%)
CIE-LABlab(72.03, -27.30, 57.14)
CIE-LCHlch(72.03, 63.33, 115.53°)
OKLaboklab(74.96% -0.0794 0.1296)
OKLCHoklch(74.96% 0.152 121.5)
XYZxyz(33.2071, 43.7075, 11.5365)
Luminance0.4371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FBC40 #5D40BC
analogous
#BC9B40 #9FBC40 #61BC40
triadic
#9FBC40 #409FBC #BC409F
tetradic
#9FBC40 #40BC9B #5D40BC #BC4061
square
#9FBC40 #40BC9B #5D40BC #BC4061
split-complementary
#9FBC40 #4061BC #9B40BC
monochromatic
#526121 #788E30 #9FBC40 #B6CD6C #CDDD9A

Accessibility & contrast

On white

2.16
#9FBC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#9FBC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FBC40
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FBC40#FFFFFF#000000##000000
##9FBC401.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12F
Deuteranopia (green-blind)
#C3B149
Tritanopia (blue-blind)
#A7B3A3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #9fbc40;
/* rgb */ color: rgb(159, 188, 64);
/* oklch */ color: oklch(75.0% 0.152 121.5);
Tailwind
colors: {
  custom: {
    50: '#bed07b',
    500: '#9fbc40',
    950: '#000000',
  },
}
SCSS
$custom: #9fbc40;
$custom-light: #bed07b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fbc40",
  "rgb": {
    "r": 159,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 74.032,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74955,
    "c": 0.152,
    "h": 121.5
  },
  "luminance": 0.43708
}

Semantic roles & 50–950 ramp

primary
#9FBC40
secondary
#9D8FC9
accent
#4FD96F
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#12140A
muted
#81827C

Preview Lab

Preview with #9FBC40

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

Preview Lab → · Contrast checker → · Palette generator →

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