#9FBB28#9FBB28

#9FBB28 is a light, vivid yellow-green. Relative luminance 0.431; OKLCH L 74.6% C 0.165 H 120.4°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#9FBB28
RGBrgb(159, 187, 40)
HSLhsl(71, 65%, 45%)
HSVhsv(71, 79%, 73%)
CMYKcmyk(15%, 0%, 78.6%, 26.7%)
CIE-LABlab(71.60, -28.12, 65.19)
CIE-LCHlch(71.60, 70.99, 113.33°)
OKLaboklab(74.56% -0.0837 0.1427)
OKLCHoklch(74.56% 0.165 120.4)
XYZxyz(32.4520, 43.0649, 8.6098)
Luminance0.4306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FBB28 #4428BB
analogous
#BB8E28 #9FBB28 #55BB28
triadic
#9FBB28 #289FBB #BB289F
tetradic
#9FBB28 #28BB8E #4428BB #BB2855
square
#9FBB28 #28BB8E #4428BB #BB2855
split-complementary
#9FBB28 #2855BB #8E28BB
monochromatic
#495612 #74891D #9FBB28 #BDD848 #CFE37B

Accessibility & contrast

On white

2.18
#9FBB28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#9FBB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FBB28
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FBB28#FFFFFF#000000##000000
##9FBB281.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C4B037
Tritanopia (blue-blind)
#A8B1A0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #9fbb28;
/* rgb */ color: rgb(159, 187, 40);
/* oklch */ color: oklch(74.6% 0.165 120.4);
Tailwind
colors: {
  custom: {
    50: '#bfcf6f',
    500: '#9fbb28',
    950: '#000000',
  },
}
SCSS
$custom: #9fbb28;
$custom-light: #bfcf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fbb28",
  "rgb": {
    "r": 159,
    "g": 187,
    "b": 40
  },
  "hsl": {
    "h": 71.429,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74559,
    "c": 0.16545,
    "h": 120.4
  },
  "luminance": 0.43065
}

Semantic roles & 50–950 ramp

primary
#9FBB28
secondary
#8574CB
accent
#40E860
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FBB28

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

Preview Lab → · Contrast checker → · Palette generator →

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