#9FB728#9FB728

#9FB728 is a light, vivid yellow-green. Relative luminance 0.414; OKLCH L 73.6% C 0.161 H 119.2°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#9FB728
RGBrgb(159, 183, 40)
HSLhsl(70, 64%, 44%)
HSVhsv(70, 78%, 72%)
CMYKcmyk(13.1%, 0%, 78.1%, 28.2%)
CIE-LABlab(70.45, -26.19, 64.14)
CIE-LCHlch(70.45, 69.28, 112.21°)
OKLaboklab(73.63% -0.0784 0.1405)
OKLCHoklch(73.63% 0.161 119.2)
XYZxyz(31.6153, 41.3913, 8.3309)
Luminance0.4139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB728 #4028B7
analogous
#B78728 #9FB728 #57B728
triadic
#9FB728 #289FB7 #B7289F
tetradic
#9FB728 #28B787 #4028B7 #B72857
square
#9FB728 #28B787 #4028B7 #B72857
split-complementary
#9FB728 #2857B7 #8728B7
monochromatic
#485312 #73851D #9FB728 #BED646 #D0E178

Accessibility & contrast

On white

2.26
#9FB728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#9FB728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB728
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB728#FFFFFF#000000##000000
##9FB7281.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C0AD36
Tritanopia (blue-blind)
#A9AD9D
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #9fb728;
/* rgb */ color: rgb(159, 183, 40);
/* oklch */ color: oklch(73.6% 0.161 119.2);
Tailwind
colors: {
  custom: {
    50: '#bfcc6f',
    500: '#9fb728',
    950: '#000000',
  },
}
SCSS
$custom: #9fb728;
$custom-light: #bfcc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb728",
  "rgb": {
    "r": 159,
    "g": 183,
    "b": 40
  },
  "hsl": {
    "h": 70.07,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73632,
    "c": 0.16091,
    "h": 119.2
  },
  "luminance": 0.41391
}

Semantic roles & 50–950 ramp

primary
#9FB728
secondary
#8072C9
accent
#41E75D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB728

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

Preview Lab → · Contrast checker → · Palette generator →

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