#5E8726#5E8726

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

Color values

HEX#5E8726
RGBrgb(94, 135, 38)
HSLhsl(85, 56%, 34%)
HSVhsv(85, 72%, 53%)
CMYKcmyk(30.4%, 0%, 71.9%, 47.1%)
CIE-LABlab(51.66, -29.95, 45.30)
CIE-LCHlch(51.66, 54.30, 123.47°)
OKLaboklab(57.32% -0.085 0.1022)
OKLCHoklch(57.32% 0.133 129.7)
XYZxyz(13.6298, 19.8472, 4.9461)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8726 #4F2687
analogous
#878026 #5E8726 #2E8726
triadic
#5E8726 #265E87 #87265E
tetradic
#5E8726 #268780 #4F2687 #87262E
square
#5E8726 #268780 #4F2687 #87262E
split-complementary
#5E8726 #262E87 #802687
monochromatic
#1B270B #3D5719 #5E8726 #7FB733 #9DD058

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E8726#FFFFFF#000000##000000
##5E87261.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)
#8D7D17
Deuteranopia (green-blind)
#887A2E
Tritanopia (blue-blind)
#618174
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5e8726;
/* rgb */ color: rgb(94, 135, 38);
/* oklch */ color: oklch(57.3% 0.133 129.7);
Tailwind
colors: {
  custom: {
    50: '#8faa67',
    500: '#5e8726',
    950: '#000000',
  },
}
SCSS
$custom: #5e8726;
$custom-light: #8faa67;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8726",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 38
  },
  "hsl": {
    "h": 85.361,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57317,
    "c": 0.13296,
    "h": 129.7
  },
  "luminance": 0.19848
}

Semantic roles & 50–950 ramp

primary
#5E8726
secondary
#7D54B5
accent
#48DF88
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8726

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

Preview Lab → · Contrast checker → · Palette generator →

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