#5E8729#5E8729

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

Color values

HEX#5E8729
RGBrgb(94, 135, 41)
HSLhsl(86, 53%, 35%)
HSVhsv(86, 70%, 53%)
CMYKcmyk(30.4%, 0%, 69.6%, 47.1%)
CIE-LABlab(51.69, -29.72, 44.09)
CIE-LCHlch(51.69, 53.17, 123.99°)
OKLaboklab(57.34% -0.0841 0.1002)
OKLCHoklch(57.34% 0.131 130)
XYZxyz(13.6802, 19.8673, 5.2114)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8729 #522987
analogous
#878129 #5E8729 #2F8729
triadic
#5E8729 #295E87 #87295E
tetradic
#5E8729 #298781 #522987 #87292F
square
#5E8729 #298781 #522987 #87292F
split-complementary
#5E8729 #292F87 #812987
monochromatic
#1D290C #3D581B #5E8729 #7FB637 #9CCE5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E8729#FFFFFF#000000##000000
##5E87291.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)
#8D7D1B
Deuteranopia (green-blind)
#887A31
Tritanopia (blue-blind)
#608174
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5e8729;
/* rgb */ color: rgb(94, 135, 41);
/* oklch */ color: oklch(57.3% 0.131 130.0);
Tailwind
colors: {
  custom: {
    50: '#8faa68',
    500: '#5e8729',
    950: '#000000',
  },
}
SCSS
$custom: #5e8729;
$custom-light: #8faa68;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8729",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 86.17,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57343,
    "c": 0.13079,
    "h": 130
  },
  "luminance": 0.19868
}

Semantic roles & 50–950 ramp

primary
#5E8729
secondary
#8059B3
accent
#4BDD8B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8729

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

Preview Lab → · Contrast checker → · Palette generator →

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