#9EB831#9EB831

#9EB831 is a light, vivid yellow-green. Relative luminance 0.418; OKLCH L 73.8% C 0.158 H 120.1°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#9EB831
RGBrgb(158, 184, 49)
HSLhsl(72, 58%, 46%)
HSVhsv(72, 73%, 72%)
CMYKcmyk(14.1%, 0%, 73.4%, 27.8%)
CIE-LABlab(70.71, -26.67, 61.45)
CIE-LCHlch(70.71, 66.99, 113.46°)
OKLaboklab(73.84% -0.079 0.1364)
OKLCHoklch(73.84% 0.158 120.1)
XYZxyz(31.7960, 41.7720, 9.2929)
Luminance0.4177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB831 #4B31B8
analogous
#B88F31 #9EB831 #5AB831
triadic
#9EB831 #319EB8 #B8319E
tetradic
#9EB831 #31B88F #4B31B8 #B8315A
square
#9EB831 #31B88F #4B31B8 #B8315A
split-complementary
#9EB831 #315AB8 #8F31B8
monochromatic
#4B5717 #748824 #9EB831 #BAD255 #CDDE85

Accessibility & contrast

On white

2.24
#9EB831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#9EB831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB831
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB831#FFFFFF#000000##000000
##9EB8311.002.249.359.35
#FFFFFF2.241.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD16
Deuteranopia (green-blind)
#C1AD3D
Tritanopia (blue-blind)
#A7AE9E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #9eb831;
/* rgb */ color: rgb(158, 184, 49);
/* oklch */ color: oklch(73.8% 0.158 120.1);
Tailwind
colors: {
  custom: {
    50: '#becd73',
    500: '#9eb831',
    950: '#000000',
  },
}
SCSS
$custom: #9eb831;
$custom-light: #becd73;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb831",
  "rgb": {
    "r": 158,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 71.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73842,
    "c": 0.15757,
    "h": 120.1
  },
  "luminance": 0.41772
}

Semantic roles & 50–950 ramp

primary
#9EB831
secondary
#8B7DC8
accent
#47E164
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #9EB831

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

Preview Lab → · Contrast checker → · Palette generator →

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