#9EB928#9EB928

#9EB928 is a light, vivid yellow-green. Relative luminance 0.421; OKLCH L 74.0% C 0.164 H 120.1°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#9EB928
RGBrgb(158, 185, 40)
HSLhsl(71, 64%, 44%)
HSVhsv(71, 78%, 73%)
CMYKcmyk(14.6%, 0%, 78.4%, 27.5%)
CIE-LABlab(70.95, -27.57, 64.58)
CIE-LCHlch(70.95, 70.22, 113.12°)
OKLaboklab(74.02% -0.0821 0.1415)
OKLCHoklch(74.02% 0.164 120.1)
XYZxyz(31.8332, 42.1203, 8.4601)
Luminance0.4212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB928 #4328B9
analogous
#B98B28 #9EB928 #56B928
triadic
#9EB928 #289EB9 #B9289E
tetradic
#9EB928 #28B98B #4328B9 #B92856
square
#9EB928 #28B98B #4328B9 #B92856
split-complementary
#9EB928 #2856B9 #8B28B9
monochromatic
#485412 #73871D #9EB928 #BCD747 #CFE279

Accessibility & contrast

On white

2.23
#9EB928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#9EB928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB928
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB928#FFFFFF#000000##000000
##9EB9281.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9eb928;
/* rgb */ color: rgb(158, 185, 40);
/* oklch */ color: oklch(74.0% 0.164 120.1);
Tailwind
colors: {
  custom: {
    50: '#bece6f',
    500: '#9eb928',
    950: '#000000',
  },
}
SCSS
$custom: #9eb928;
$custom-light: #bece6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb928",
  "rgb": {
    "r": 158,
    "g": 185,
    "b": 40
  },
  "hsl": {
    "h": 71.172,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74021,
    "c": 0.16358,
    "h": 120.1
  },
  "luminance": 0.4212
}

Semantic roles & 50–950 ramp

primary
#9EB928
secondary
#8373CA
accent
#40E75F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EB928

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

Preview Lab → · Contrast checker → · Palette generator →

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