#5E8B2E#5E8B2E

#5E8B2E is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.4% C 0.132 H 131.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5E8B2E
RGBrgb(94, 139, 46)
HSLhsl(89, 50%, 36%)
HSVhsv(89, 67%, 55%)
CMYKcmyk(32.4%, 0%, 66.9%, 45.5%)
CIE-LABlab(53.00, -31.20, 43.32)
CIE-LCHlch(53.00, 53.39, 125.77°)
OKLaboklab(58.42% -0.0877 0.0992)
OKLCHoklch(58.42% 0.132 131.5)
XYZxyz(14.3417, 21.0417, 5.8901)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8B2E #5B2E8B
analogous
#8B8A2E #5E8B2E #308B2E
triadic
#5E8B2E #2E5E8B #8B2E5E
tetradic
#5E8B2E #2E8B8A #5B2E8B #8B2E30
square
#5E8B2E #2E8B8A #5B2E8B #8B2E30
split-complementary
#5E8B2E #2E308B #8A2E8B
monochromatic
#202F10 #3F5D1F #5E8B2E #7DB93D #9BCD67

Accessibility & contrast

On white

4.03
#5E8B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#5E8B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8B2E
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8B2E#FFFFFF#000000##000000
##5E8B2E1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918122
Deuteranopia (green-blind)
#8B7D35
Tritanopia (blue-blind)
#608578
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e8b2e;
/* rgb */ color: rgb(94, 139, 46);
/* oklch */ color: oklch(58.4% 0.132 131.5);
Tailwind
colors: {
  custom: {
    50: '#8fad6b',
    500: '#5e8b2e',
    950: '#000000',
  },
}
SCSS
$custom: #5e8b2e;
$custom-light: #8fad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8b2e",
  "rgb": {
    "r": 94,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 89.032,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58421,
    "c": 0.13246,
    "h": 131.5
  },
  "luminance": 0.21042
}

Semantic roles & 50–950 ramp

primary
#5E8B2E
secondary
#8961B3
accent
#4EDA92
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5E8B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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