#5E8A45#5E8A45

#5E8A45 is a mid, moderate yellow-green. Relative luminance 0.210; OKLCH L 58.5% C 0.110 H 135.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5E8A45
RGBrgb(94, 138, 69)
HSLhsl(98, 33%, 41%)
HSVhsv(98, 50%, 54%)
CMYKcmyk(31.9%, 0%, 50%, 45.9%)
CIE-LABlab(52.93, -28.26, 32.05)
CIE-LCHlch(52.93, 42.73, 131.41°)
OKLaboklab(58.45% -0.0778 0.0772)
OKLCHoklch(58.45% 0.11 135.3)
XYZxyz(14.7784, 20.9858, 8.9011)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8A45 #71458A
analogous
#808A45 #5E8A45 #458A4E
triadic
#5E8A45 #455E8A #8A455E
tetradic
#5E8A45 #45808A #71458A #8A4E45
square
#5E8A45 #45808A #71458A #8A4E45
split-complementary
#5E8A45 #4E458A #8A4580
monochromatic
#26381C #426131 #5E8A45 #7BAE5E #9CC387

Accessibility & contrast

On white

4.04
#5E8A45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5E8A45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8A45
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8A45#FFFFFF#000000##000000
##5E8A451.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E813F
Deuteranopia (green-blind)
#887D49
Tritanopia (blue-blind)
#5D867A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e8a45;
/* rgb */ color: rgb(94, 138, 69);
/* oklch */ color: oklch(58.5% 0.110 135.3);
Tailwind
colors: {
  custom: {
    50: '#8eac7a',
    500: '#5e8a45',
    950: '#000000',
  },
}
SCSS
$custom: #5e8a45;
$custom-light: #8eac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8a45",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 69
  },
  "hsl": {
    "h": 98.261,
    "s": 33.333,
    "l": 40.588
  },
  "oklch": {
    "l": 0.58453,
    "c": 0.10962,
    "h": 135.3
  },
  "luminance": 0.20986
}

Semantic roles & 50–950 ramp

primary
#5E8A45
secondary
#9C7DAE
accent
#5EC9A3
background
#F8FAF7
surface
#F0F4EE
border
#CBCEC9
text
#0C1009
muted
#7D7F7B

Preview Lab

Preview with #5E8A45

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

Preview Lab → · Contrast checker → · Palette generator →

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