#9FB928#9FB928

#9FB928 is a light, vivid yellow-green. Relative luminance 0.422; OKLCH L 74.1% C 0.163 H 119.8°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#9FB928
RGBrgb(159, 185, 40)
HSLhsl(71, 64%, 44%)
HSVhsv(71, 78%, 73%)
CMYKcmyk(14.1%, 0%, 78.4%, 27.5%)
CIE-LABlab(71.02, -27.16, 64.67)
CIE-LCHlch(71.02, 70.14, 112.78°)
OKLaboklab(74.1% -0.0811 0.1416)
OKLCHoklch(74.1% 0.163 119.8)
XYZxyz(32.0307, 42.2222, 8.4694)
Luminance0.4222 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB928 #4228B9
analogous
#B98B28 #9FB928 #56B928
triadic
#9FB928 #289FB9 #B9289F
tetradic
#9FB928 #28B98B #4228B9 #B92856
square
#9FB928 #28B98B #4228B9 #B92856
split-complementary
#9FB928 #2856B9 #8B28B9
monochromatic
#495412 #74871D #9FB928 #BDD747 #CFE279

Accessibility & contrast

On white

2.22
#9FB928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#9FB928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB928
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB928#FFFFFF#000000##000000
##9FB9281.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C2AE36
Tritanopia (blue-blind)
#A9AF9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9fb928;
/* rgb */ color: rgb(159, 185, 40);
/* oklch */ color: oklch(74.1% 0.163 119.8);
Tailwind
colors: {
  custom: {
    50: '#bfce6f',
    500: '#9fb928',
    950: '#000000',
  },
}
SCSS
$custom: #9fb928;
$custom-light: #bfce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb928",
  "rgb": {
    "r": 159,
    "g": 185,
    "b": 40
  },
  "hsl": {
    "h": 70.759,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74095,
    "c": 0.16318,
    "h": 119.8
  },
  "luminance": 0.42222
}

Semantic roles & 50–950 ramp

primary
#9FB928
secondary
#8273CA
accent
#40E75E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB928

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

Preview Lab → · Contrast checker → · Palette generator →

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