#9EB728#9EB728

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

Color values

HEX#9EB728
RGBrgb(158, 183, 40)
HSLhsl(70, 64%, 44%)
HSVhsv(70, 78%, 72%)
CMYKcmyk(13.7%, 0%, 78.1%, 28.2%)
CIE-LABlab(70.38, -26.61, 64.05)
CIE-LCHlch(70.38, 69.36, 112.56°)
OKLaboklab(73.56% -0.0795 0.1404)
OKLCHoklch(73.56% 0.161 119.5)
XYZxyz(31.4177, 41.2895, 8.3216)
Luminance0.4129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB728 #4128B7
analogous
#B78828 #9EB728 #56B728
triadic
#9EB728 #289EB7 #B7289E
tetradic
#9EB728 #28B788 #4128B7 #B72856
square
#9EB728 #28B788 #4128B7 #B72856
split-complementary
#9EB728 #2856B7 #8828B7
monochromatic
#475312 #73851D #9EB728 #BDD646 #CFE178

Accessibility & contrast

On white

2.27
#9EB728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#9EB728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB728
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB728#FFFFFF#000000##000000
##9EB7281.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9eb728;
/* rgb */ color: rgb(158, 183, 40);
/* oklch */ color: oklch(73.6% 0.161 119.5);
Tailwind
colors: {
  custom: {
    50: '#becc6f',
    500: '#9eb728',
    950: '#000000',
  },
}
SCSS
$custom: #9eb728;
$custom-light: #becc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb728",
  "rgb": {
    "r": 158,
    "g": 183,
    "b": 40
  },
  "hsl": {
    "h": 70.49,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73557,
    "c": 0.1613,
    "h": 119.5
  },
  "luminance": 0.41289
}

Semantic roles & 50–950 ramp

primary
#9EB728
secondary
#8172C9
accent
#41E75E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EB728

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

Preview Lab → · Contrast checker → · Palette generator →

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