#9EB72B#9EB72B

#9EB72B is a light, vivid yellow-green. Relative luminance 0.413; OKLCH L 73.6% C 0.160 H 119.6°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#9EB72B
RGBrgb(158, 183, 43)
HSLhsl(71, 62%, 44%)
HSVhsv(71, 77%, 72%)
CMYKcmyk(13.7%, 0%, 76.5%, 28.2%)
CIE-LABlab(70.39, -26.48, 63.14)
CIE-LCHlch(70.39, 68.47, 112.75°)
OKLaboklab(73.57% -0.0789 0.1389)
OKLCHoklch(73.57% 0.16 119.6)
XYZxyz(31.4707, 41.3107, 8.6009)
Luminance0.4131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB72B #442BB7
analogous
#B78A2B #9EB72B #58B72B
triadic
#9EB72B #2B9EB7 #B72B9E
tetradic
#9EB72B #2BB78A #442BB7 #B72B58
square
#9EB72B #2BB78A #442BB7 #B72B58
split-complementary
#9EB72B #2B58B7 #8A2BB7
monochromatic
#485414 #73851F #9EB72B #BCD54B #CEE07C

Accessibility & contrast

On white

2.27
#9EB72B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#9EB72B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB72B
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB72B#FFFFFF#000000##000000
##9EB72B1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9eb72b;
/* rgb */ color: rgb(158, 183, 43);
/* oklch */ color: oklch(73.6% 0.160 119.6);
Tailwind
colors: {
  custom: {
    50: '#becc70',
    500: '#9eb72b',
    950: '#000000',
  },
}
SCSS
$custom: #9eb72b;
$custom-light: #becc70;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb72b",
  "rgb": {
    "r": 158,
    "g": 183,
    "b": 43
  },
  "hsl": {
    "h": 70.714,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73573,
    "c": 0.15977,
    "h": 119.6
  },
  "luminance": 0.4131
}

Semantic roles & 50–950 ramp

primary
#9EB72B
secondary
#8475C9
accent
#43E560
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EB72B

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

Preview Lab → · Contrast checker → · Palette generator →

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