#9EB540#9EB540

#9EB540 is a light, vivid yellow-green. Relative luminance 0.407; OKLCH L 73.3% C 0.144 H 119.6°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#9EB540
RGBrgb(158, 181, 64)
HSLhsl(72, 48%, 48%)
HSVhsv(72, 65%, 71%)
CMYKcmyk(12.7%, 0%, 64.6%, 29%)
CIE-LABlab(69.96, -24.30, 54.94)
CIE-LCHlch(69.96, 60.07, 113.86°)
OKLaboklab(73.27% -0.071 0.125)
OKLCHoklch(73.27% 0.144 119.6)
XYZxyz(31.5503, 40.6872, 11.0408)
Luminance0.4069 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB540 #5740B5
analogous
#B59140 #9EB540 #63B540
triadic
#9EB540 #409EB5 #B5409E
tetradic
#9EB540 #40B591 #5740B5 #B54063
square
#9EB540 #40B591 #5740B5 #B54063
split-complementary
#9EB540 #4063B5 #9140B5
monochromatic
#4F5B20 #778830 #9EB540 #B7CA68 #CCDA96

Accessibility & contrast

On white

2.30
#9EB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#9EB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB540
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB540#FFFFFF#000000##000000
##9EB5401.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB31
Deuteranopia (green-blind)
#BDAB48
Tritanopia (blue-blind)
#A7AC9D
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #9eb540;
/* rgb */ color: rgb(158, 181, 64);
/* oklch */ color: oklch(73.3% 0.144 119.6);
Tailwind
colors: {
  custom: {
    50: '#bdcb7b',
    500: '#9eb540',
    950: '#000000',
  },
}
SCSS
$custom: #9eb540;
$custom-light: #bdcb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb540",
  "rgb": {
    "r": 158,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 71.795,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73266,
    "c": 0.14377,
    "h": 119.6
  },
  "luminance": 0.40687
}

Semantic roles & 50–950 ramp

primary
#9EB540
secondary
#978BC5
accent
#50D76B
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9EB540

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

Preview Lab → · Contrast checker → · Palette generator →

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