#5E8A3F#5E8A3F

#5E8A3F is a mid, moderate yellow-green. Relative luminance 0.209; OKLCH L 58.4% C 0.116 H 133.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5E8A3F
RGBrgb(94, 138, 63)
HSLhsl(95, 37%, 39%)
HSVhsv(95, 54%, 54%)
CMYKcmyk(31.9%, 0%, 54.3%, 45.9%)
CIE-LABlab(52.86, -29.01, 35.06)
CIE-LCHlch(52.86, 45.50, 129.60°)
OKLaboklab(58.37% -0.0803 0.0834)
OKLCHoklch(58.37% 0.116 133.9)
XYZxyz(14.6015, 20.9150, 7.9693)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8A3F #6B3F8A
analogous
#848A3F #5E8A3F #3F8A46
triadic
#5E8A3F #3F5E8A #8A3F5E
tetradic
#5E8A3F #3F848A #6B3F8A #8A463F
square
#5E8A3F #3F848A #6B3F8A #8A463F
split-complementary
#5E8A3F #463F8A #8A3F84
monochromatic
#253619 #41602C #5E8A3F #7BB155 #9CC57F

Accessibility & contrast

On white

4.05
#5E8A3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5E8A3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8A3F
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8A3F#FFFFFF#000000##000000
##5E8A3F1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8038
Deuteranopia (green-blind)
#897D44
Tritanopia (blue-blind)
#5E8579
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e8a3f;
/* rgb */ color: rgb(94, 138, 63);
/* oklch */ color: oklch(58.4% 0.116 133.9);
Tailwind
colors: {
  custom: {
    50: '#8eac76',
    500: '#5e8a3f',
    950: '#000000',
  },
}
SCSS
$custom: #5e8a3f;
$custom-light: #8eac76;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8a3f",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 63
  },
  "hsl": {
    "h": 95.2,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.58365,
    "c": 0.11576,
    "h": 133.9
  },
  "luminance": 0.20916
}

Semantic roles & 50–950 ramp

primary
#5E8A3F
secondary
#9776AF
accent
#5BCD9E
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1008
muted
#7D7F7B

Preview Lab

Preview with #5E8A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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