#9EB340#9EB340

#9EB340 is a light, vivid yellow-green. Relative luminance 0.399; OKLCH L 72.8% C 0.141 H 118.9°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#9EB340
RGBrgb(158, 179, 64)
HSLhsl(71, 47%, 48%)
HSVhsv(71, 64%, 70%)
CMYKcmyk(11.7%, 0%, 64.2%, 29.8%)
CIE-LABlab(69.38, -23.32, 54.33)
CIE-LCHlch(69.38, 59.12, 113.23°)
OKLaboklab(72.8% -0.0683 0.1237)
OKLCHoklch(72.8% 0.141 118.9)
XYZxyz(31.1466, 39.8797, 10.9062)
Luminance0.3988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB340 #5540B3
analogous
#B38F40 #9EB340 #64B340
triadic
#9EB340 #409EB3 #B3409E
tetradic
#9EB340 #40B38F #5540B3 #B34064
square
#9EB340 #40B38F #5540B3 #B34064
split-complementary
#9EB340 #4064B3 #8F40B3
monochromatic
#4E5920 #768630 #9EB340 #B7C967 #CCD994

Accessibility & contrast

On white

2.34
#9EB340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#9EB340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB340
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB340#FFFFFF#000000##000000
##9EB3401.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA931
Deuteranopia (green-blind)
#BCAA48
Tritanopia (blue-blind)
#A7AA9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9eb340;
/* rgb */ color: rgb(158, 179, 64);
/* oklch */ color: oklch(72.8% 0.141 118.9);
Tailwind
colors: {
  custom: {
    50: '#bdc97a',
    500: '#9eb340',
    950: '#000000',
  },
}
SCSS
$custom: #9eb340;
$custom-light: #bdc97a;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb340",
  "rgb": {
    "r": 158,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 70.957,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72805,
    "c": 0.14131,
    "h": 118.9
  },
  "luminance": 0.39879
}

Semantic roles & 50–950 ramp

primary
#9EB340
secondary
#958AC4
accent
#51D769
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9EB340

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

Preview Lab → · Contrast checker → · Palette generator →

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