#5E8A2E#5E8A2E

#5E8A2E is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.2% C 0.131 H 131.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5E8A2E
RGBrgb(94, 138, 46)
HSLhsl(89, 50%, 36%)
HSVhsv(89, 67%, 54%)
CMYKcmyk(31.9%, 0%, 66.7%, 45.9%)
CIE-LABlab(52.68, -30.73, 42.98)
CIE-LCHlch(52.68, 52.84, 125.57°)
OKLaboklab(58.16% -0.0865 0.0985)
OKLCHoklch(58.16% 0.131 131.3)
XYZxyz(14.1976, 20.7534, 5.8420)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8A2E #5A2E8A
analogous
#8A882E #5E8A2E #308A2E
triadic
#5E8A2E #2E5E8A #8A2E5E
tetradic
#5E8A2E #2E8A88 #5A2E8A #8A2E30
square
#5E8A2E #2E8A88 #5A2E8A #8A2E30
split-complementary
#5E8A2E #2E308A #882E8A
monochromatic
#1F2E0F #3F5C1F #5E8A2E #7DB83D #9BCC66

Accessibility & contrast

On white

4.08
#5E8A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5E8A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8A2E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8A2E#FFFFFF#000000##000000
##5E8A2E1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908022
Deuteranopia (green-blind)
#8A7D35
Tritanopia (blue-blind)
#608477
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e8a2e;
/* rgb */ color: rgb(94, 138, 46);
/* oklch */ color: oklch(58.2% 0.131 131.3);
Tailwind
colors: {
  custom: {
    50: '#8fac6b',
    500: '#5e8a2e',
    950: '#000000',
  },
}
SCSS
$custom: #5e8a2e;
$custom-light: #8fac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8a2e",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 88.696,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58163,
    "c": 0.13108,
    "h": 131.3
  },
  "luminance": 0.20754
}

Semantic roles & 50–950 ramp

primary
#5E8A2E
secondary
#8861B3
accent
#4EDA91
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5E8A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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