#9EB927#9EB927

#9EB927 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#9EB927
RGBrgb(158, 185, 39)
HSLhsl(71, 65%, 44%)
HSVhsv(71, 79%, 73%)
CMYKcmyk(14.6%, 0%, 78.9%, 27.5%)
CIE-LABlab(70.95, -27.61, 64.87)
CIE-LCHlch(70.95, 70.50, 113.06°)
OKLaboklab(74.02% -0.0823 0.1419)
OKLCHoklch(74.02% 0.164 120.1)
XYZxyz(31.8164, 42.1136, 8.3717)
Luminance0.4211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB927 #4227B9
analogous
#B98B27 #9EB927 #55B927
triadic
#9EB927 #279EB9 #B9279E
tetradic
#9EB927 #27B98B #4227B9 #B92755
square
#9EB927 #27B98B #4227B9 #B92755
split-complementary
#9EB927 #2755B9 #8B27B9
monochromatic
#485412 #73861C #9EB927 #BDD845 #CFE378

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EB927#FFFFFF#000000##000000
##9EB9271.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: #9eb927;
/* rgb */ color: rgb(158, 185, 39);
/* oklch */ color: oklch(74.0% 0.164 120.1);
Tailwind
colors: {
  custom: {
    50: '#bece6e',
    500: '#9eb927',
    950: '#000000',
  },
}
SCSS
$custom: #9eb927;
$custom-light: #bece6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb927",
  "rgb": {
    "r": 158,
    "g": 185,
    "b": 39
  },
  "hsl": {
    "h": 71.096,
    "s": 65.179,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74016,
    "c": 0.16406,
    "h": 120.1
  },
  "luminance": 0.42114
}

Semantic roles & 50–950 ramp

primary
#9EB927
secondary
#8272CA
accent
#40E85F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EB927

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

Preview Lab → · Contrast checker → · Palette generator →

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