#9EB731#9EB731

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

Color values

HEX#9EB731
RGBrgb(158, 183, 49)
HSLhsl(71, 58%, 45%)
HSVhsv(71, 73%, 72%)
CMYKcmyk(13.7%, 0%, 73.2%, 28.2%)
CIE-LABlab(70.43, -26.19, 61.17)
CIE-LCHlch(70.43, 66.54, 113.17°)
OKLaboklab(73.61% -0.0776 0.1358)
OKLCHoklch(73.61% 0.156 119.7)
XYZxyz(31.5890, 41.3580, 9.2239)
Luminance0.4136 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB731 #4A31B7
analogous
#B78D31 #9EB731 #5BB731
triadic
#9EB731 #319EB7 #B7319E
tetradic
#9EB731 #31B78D #4A31B7 #B7315B
square
#9EB731 #31B78D #4A31B7 #B7315B
split-complementary
#9EB731 #315BB7 #8D31B7
monochromatic
#4B5617 #748724 #9EB731 #BAD154 #CDDE84

Accessibility & contrast

On white

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

On black

9.27
#9EB731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB731
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB731#FFFFFF#000000##000000
##9EB7311.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC16
Deuteranopia (green-blind)
#C0AD3D
Tritanopia (blue-blind)
#A7AD9D
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #9eb731;
/* rgb */ color: rgb(158, 183, 49);
/* oklch */ color: oklch(73.6% 0.156 119.7);
Tailwind
colors: {
  custom: {
    50: '#becc73',
    500: '#9eb731',
    950: '#000000',
  },
}
SCSS
$custom: #9eb731;
$custom-light: #becc73;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb731",
  "rgb": {
    "r": 158,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 71.194,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73611,
    "c": 0.1564,
    "h": 119.7
  },
  "luminance": 0.41358
}

Semantic roles & 50–950 ramp

primary
#9EB731
secondary
#8A7CC8
accent
#47E164
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #9EB731

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

Preview Lab → · Contrast checker → · Palette generator →

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