#5E8727#5E8727

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

Color values

HEX#5E8727
RGBrgb(94, 135, 39)
HSLhsl(86, 55%, 34%)
HSVhsv(86, 71%, 53%)
CMYKcmyk(30.4%, 0%, 71.1%, 47.1%)
CIE-LABlab(51.67, -29.87, 44.90)
CIE-LCHlch(51.67, 53.93, 123.64°)
OKLaboklab(57.33% -0.0847 0.1016)
OKLCHoklch(57.33% 0.132 129.8)
XYZxyz(13.6462, 19.8537, 5.0322)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8727 #502787
analogous
#878027 #5E8727 #2E8727
triadic
#5E8727 #275E87 #87275E
tetradic
#5E8727 #278780 #502787 #87272E
square
#5E8727 #278780 #502787 #87272E
split-complementary
#5E8727 #272E87 #802787
monochromatic
#1C280C #3D5819 #5E8727 #7FB635 #9DCF59

Accessibility & contrast

On white

4.22
#5E8727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E8727#FFFFFF#000000##000000
##5E87271.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e8727;
/* rgb */ color: rgb(94, 135, 39);
/* oklch */ color: oklch(57.3% 0.132 129.8);
Tailwind
colors: {
  custom: {
    50: '#8faa67',
    500: '#5e8727',
    950: '#000000',
  },
}
SCSS
$custom: #5e8727;
$custom-light: #8faa67;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8727",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 85.625,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57326,
    "c": 0.13226,
    "h": 129.8
  },
  "luminance": 0.19854
}

Semantic roles & 50–950 ramp

primary
#5E8727
secondary
#7E56B4
accent
#49DF89
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8727

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

Preview Lab → · Contrast checker → · Palette generator →

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