#5E9721#5E9721

#5E9721 is a mid, vivid yellow-green. Relative luminance 0.246; OKLCH L 61.4% C 0.157 H 132.5°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5E9721
RGBrgb(94, 151, 33)
HSLhsl(89, 64%, 36%)
HSVhsv(89, 78%, 59%)
CMYKcmyk(37.7%, 0%, 78.1%, 40.8%)
CIE-LABlab(56.71, -37.55, 52.10)
CIE-LCHlch(56.71, 64.22, 125.79°)
OKLaboklab(61.42% -0.106 0.1157)
OKLCHoklch(61.42% 0.157 132.5)
XYZxyz(15.9570, 24.6220, 5.3503)
Luminance0.2462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9721 #5A2197
analogous
#979521 #5E9721 #239721
triadic
#5E9721 #215E97 #97215E
tetradic
#5E9721 #219795 #5A2197 #972123
square
#5E9721 #219795 #5A2197 #972123
split-complementary
#5E9721 #212397 #952197
monochromatic
#1F330B #3F6516 #5E9721 #7DC92C #9BDA58

Accessibility & contrast

On white

3.54
#5E9721 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#5E9721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9721
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9721#FFFFFF#000000##000000
##5E97211.003.545.925.92
#FFFFFF3.541.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B02
Deuteranopia (green-blind)
#96862D
Tritanopia (blue-blind)
#5F9181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5e9721;
/* rgb */ color: rgb(94, 151, 33);
/* oklch */ color: oklch(61.4% 0.157 132.5);
Tailwind
colors: {
  custom: {
    50: '#91b666',
    500: '#5e9721',
    950: '#000000',
  },
}
SCSS
$custom: #5e9721;
$custom-light: #91b666;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9721",
  "rgb": {
    "r": 94,
    "g": 151,
    "b": 33
  },
  "hsl": {
    "h": 88.983,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61418,
    "c": 0.15695,
    "h": 132.5
  },
  "luminance": 0.24623
}

Semantic roles & 50–950 ramp

primary
#5E9721
secondary
#8855BE
accent
#41E791
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E9721

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

Preview Lab → · Contrast checker → · Palette generator →

#5E9721 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva