#9EB931#9EB931

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

Color values

HEX#9EB931
RGBrgb(158, 185, 49)
HSLhsl(72, 58%, 46%)
HSVhsv(72, 74%, 73%)
CMYKcmyk(14.6%, 0%, 73.5%, 27.5%)
CIE-LABlab(71.00, -27.15, 61.73)
CIE-LCHlch(71.00, 67.43, 113.74°)
OKLaboklab(74.07% -0.0803 0.1369)
OKLCHoklch(74.07% 0.159 120.4)
XYZxyz(32.0045, 42.1889, 9.3624)
Luminance0.4219 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB931 #4C31B9
analogous
#B99031 #9EB931 #5AB931
triadic
#9EB931 #319EB9 #B9319E
tetradic
#9EB931 #31B990 #4C31B9 #B9315A
square
#9EB931 #31B990 #4C31B9 #B9315A
split-complementary
#9EB931 #315AB9 #9031B9
monochromatic
#4B5817 #758924 #9EB931 #B9D255 #CDDF86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EB931#FFFFFF#000000##000000
##9EB9311.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE15
Deuteranopia (green-blind)
#C1AE3D
Tritanopia (blue-blind)
#A7AF9F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9eb931;
/* rgb */ color: rgb(158, 185, 49);
/* oklch */ color: oklch(74.1% 0.159 120.4);
Tailwind
colors: {
  custom: {
    50: '#bece73',
    500: '#9eb931',
    950: '#000000',
  },
}
SCSS
$custom: #9eb931;
$custom-light: #bece73;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb931",
  "rgb": {
    "r": 158,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 71.912,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74074,
    "c": 0.15875,
    "h": 120.4
  },
  "luminance": 0.42189
}

Semantic roles & 50–950 ramp

primary
#9EB931
secondary
#8C7DC8
accent
#46E165
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #9EB931

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

Preview Lab → · Contrast checker → · Palette generator →

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