#5E8724#5E8724

#5E8724 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.3% C 0.134 H 129.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5E8724
RGBrgb(94, 135, 36)
HSLhsl(85, 58%, 34%)
HSVhsv(85, 73%, 53%)
CMYKcmyk(30.4%, 0%, 73.3%, 47.1%)
CIE-LABlab(51.65, -30.08, 46.08)
CIE-LCHlch(51.65, 55.03, 123.14°)
OKLaboklab(57.3% -0.0855 0.1036)
OKLCHoklch(57.3% 0.134 129.6)
XYZxyz(13.5984, 19.8346, 4.7807)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8724 #4D2487
analogous
#877E24 #5E8724 #2D8724
triadic
#5E8724 #245E87 #87245E
tetradic
#5E8724 #24877E #4D2487 #87242D
square
#5E8724 #24877E #4D2487 #87242D
split-complementary
#5E8724 #242D87 #7E2487
monochromatic
#1B260A #3C5717 #5E8724 #80B731 #9DD154

Accessibility & contrast

On white

4.23
#5E8724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5E8724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8724
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8724#FFFFFF#000000##000000
##5E87241.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D13
Deuteranopia (green-blind)
#887A2D
Tritanopia (blue-blind)
#618174
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5e8724;
/* rgb */ color: rgb(94, 135, 36);
/* oklch */ color: oklch(57.3% 0.134 129.6);
Tailwind
colors: {
  custom: {
    50: '#8faa66',
    500: '#5e8724',
    950: '#000000',
  },
}
SCSS
$custom: #5e8724;
$custom-light: #8faa66;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8724",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 36
  },
  "hsl": {
    "h": 84.848,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57301,
    "c": 0.13434,
    "h": 129.6
  },
  "luminance": 0.19835
}

Semantic roles & 50–950 ramp

primary
#5E8724
secondary
#7B51B5
accent
#47E187
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8724

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

Preview Lab → · Contrast checker → · Palette generator →

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