#9EB531#9EB531

#9EB531 is a light, vivid yellow-green. Relative luminance 0.405; OKLCH L 73.1% C 0.154 H 119.1°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#9EB531
RGBrgb(158, 181, 49)
HSLhsl(70, 57%, 45%)
HSVhsv(70, 73%, 71%)
CMYKcmyk(12.7%, 0%, 72.9%, 29%)
CIE-LABlab(69.85, -25.21, 60.62)
CIE-LCHlch(69.85, 65.65, 112.58°)
OKLaboklab(73.15% -0.0749 0.1346)
OKLCHoklch(73.15% 0.154 119.1)
XYZxyz(31.1794, 40.5388, 9.0874)
Luminance0.4054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB531 #4831B5
analogous
#B58A31 #9EB531 #5CB531
triadic
#9EB531 #319EB5 #B5319E
tetradic
#9EB531 #31B58A #4831B5 #B5315C
square
#9EB531 #31B58A #4831B5 #B5315C
split-complementary
#9EB531 #315CB5 #8A31B5
monochromatic
#4A5517 #748524 #9EB531 #BBD053 #CEDD83

Accessibility & contrast

On white

2.31
#9EB531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#9EB531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB531
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB531#FFFFFF#000000##000000
##9EB5311.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB17
Deuteranopia (green-blind)
#BEAB3C
Tritanopia (blue-blind)
#A7AB9C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #9eb531;
/* rgb */ color: rgb(158, 181, 49);
/* oklch */ color: oklch(73.1% 0.154 119.1);
Tailwind
colors: {
  custom: {
    50: '#becb72',
    500: '#9eb531',
    950: '#000000',
  },
}
SCSS
$custom: #9eb531;
$custom-light: #becb72;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb531",
  "rgb": {
    "r": 158,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 70.455,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73148,
    "c": 0.15407,
    "h": 119.1
  },
  "luminance": 0.40539
}

Semantic roles & 50–950 ramp

primary
#9EB531
secondary
#887BC7
accent
#47E162
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EB531

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

Preview Lab → · Contrast checker → · Palette generator →

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