#9FB128#9FB128

#9FB128 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.2% C 0.154 H 117.1°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#9FB128
RGBrgb(159, 177, 40)
HSLhsl(68, 63%, 43%)
HSVhsv(68, 77%, 69%)
CMYKcmyk(10.2%, 0%, 77.4%, 30.6%)
CIE-LABlab(68.73, -23.26, 62.57)
CIE-LCHlch(68.73, 66.75, 110.39°)
OKLaboklab(72.25% -0.0703 0.1372)
OKLCHoklch(72.25% 0.154 117.1)
XYZxyz(30.4040, 38.9688, 7.9271)
Luminance0.3897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB128 #3A28B1
analogous
#B17E28 #9FB128 #5BB128
triadic
#9FB128 #289FB1 #B1289F
tetradic
#9FB128 #28B17E #3A28B1 #B1285B
square
#9FB128 #28B17E #3A28B1 #B1285B
split-complementary
#9FB128 #285BB1 #7E28B1
monochromatic
#454D11 #727F1D #9FB128 #C1D442 #D1E074

Accessibility & contrast

On white

2.39
#9FB128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#9FB128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB128
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB128#FFFFFF#000000##000000
##9FB1281.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BCA835
Tritanopia (blue-blind)
#A9A798
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fb128;
/* rgb */ color: rgb(159, 177, 40);
/* oklch */ color: oklch(72.2% 0.154 117.1);
Tailwind
colors: {
  custom: {
    50: '#bfc86e',
    500: '#9fb128',
    950: '#000000',
  },
}
SCSS
$custom: #9fb128;
$custom-light: #bfc86e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb128",
  "rgb": {
    "r": 159,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 67.883,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.72247,
    "c": 0.15415,
    "h": 117.1
  },
  "luminance": 0.38968
}

Semantic roles & 50–950 ramp

primary
#9FB128
secondary
#7A6EC7
accent
#42E657
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB128

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

Preview Lab → · Contrast checker → · Palette generator →

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