#5E8D2D#5E8D2D

#5E8D2D is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.9% C 0.136 H 131.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5E8D2D
RGBrgb(94, 141, 45)
HSLhsl(89, 52%, 36%)
HSVhsv(89, 68%, 55%)
CMYKcmyk(33.3%, 0%, 68.1%, 44.7%)
CIE-LABlab(53.62, -32.22, 44.42)
CIE-LCHlch(53.62, 54.87, 125.96°)
OKLaboklab(58.93% -0.0906 0.1014)
OKLCHoklch(58.93% 0.136 131.8)
XYZxyz(14.6145, 21.6184, 5.8849)
Luminance0.2162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8D2D #5C2D8D
analogous
#8D8C2D #5E8D2D #2E8D2D
triadic
#5E8D2D #2D5E8D #8D2D5E
tetradic
#5E8D2D #2D8D8C #5C2D8D #8D2D2E
square
#5E8D2D #2D8D8C #5C2D8D #8D2D2E
split-complementary
#5E8D2D #2D2E8D #8C2D8D
monochromatic
#20300F #3F5F1E #5E8D2D #7DBB3C #9BCE66

Accessibility & contrast

On white

3.94
#5E8D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#5E8D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8D2D
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8D2D#FFFFFF#000000##000000
##5E8D2D1.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938220
Deuteranopia (green-blind)
#8D7F35
Tritanopia (blue-blind)
#5F8779
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5e8d2d;
/* rgb */ color: rgb(94, 141, 45);
/* oklch */ color: oklch(58.9% 0.136 131.8);
Tailwind
colors: {
  custom: {
    50: '#8fae6b',
    500: '#5e8d2d',
    950: '#000000',
  },
}
SCSS
$custom: #5e8d2d;
$custom-light: #8fae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8d2d",
  "rgb": {
    "r": 94,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 89.375,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58926,
    "c": 0.13599,
    "h": 131.8
  },
  "luminance": 0.21619
}

Semantic roles & 50–950 ramp

primary
#5E8D2D
secondary
#8A61B5
accent
#4DDB92
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5E8D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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