#9FBC28#9FBC28

#9FBC28 is a light, vivid yellow-green. Relative luminance 0.435; OKLCH L 74.8% C 0.167 H 120.7°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#9FBC28
RGBrgb(159, 188, 40)
HSLhsl(72, 65%, 45%)
HSVhsv(72, 79%, 74%)
CMYKcmyk(15.4%, 0%, 78.7%, 26.3%)
CIE-LABlab(71.89, -28.59, 65.45)
CIE-LCHlch(71.89, 71.42, 113.60°)
OKLaboklab(74.79% -0.085 0.1433)
OKLCHoklch(74.79% 0.167 120.7)
XYZxyz(32.6649, 43.4906, 8.6808)
Luminance0.4349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FBC28 #4528BC
analogous
#BC8F28 #9FBC28 #55BC28
triadic
#9FBC28 #289FBC #BC289F
tetradic
#9FBC28 #28BC8F #4528BC #BC2855
square
#9FBC28 #28BC8F #4528BC #BC2855
split-complementary
#9FBC28 #2855BC #8F28BC
monochromatic
#4A5713 #748A1D #9FBC28 #BCD849 #CFE37B

Accessibility & contrast

On white

2.17
#9FBC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#9FBC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FBC28
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FBC28#FFFFFF#000000##000000
##9FBC281.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B100
Deuteranopia (green-blind)
#C5B037
Tritanopia (blue-blind)
#A8B2A1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #9fbc28;
/* rgb */ color: rgb(159, 188, 40);
/* oklch */ color: oklch(74.8% 0.167 120.7);
Tailwind
colors: {
  custom: {
    50: '#bfd06f',
    500: '#9fbc28',
    950: '#000000',
  },
}
SCSS
$custom: #9fbc28;
$custom-light: #bfd06f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fbc28",
  "rgb": {
    "r": 159,
    "g": 188,
    "b": 40
  },
  "hsl": {
    "h": 71.757,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74791,
    "c": 0.1666,
    "h": 120.7
  },
  "luminance": 0.43491
}

Semantic roles & 50–950 ramp

primary
#9FBC28
secondary
#8675CB
accent
#40E861
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #9FBC28

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

Preview Lab → · Contrast checker → · Palette generator →

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