#5E8D2E#5E8D2E

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

Color values

HEX#5E8D2E
RGBrgb(94, 141, 46)
HSLhsl(90, 51%, 37%)
HSVhsv(90, 67%, 55%)
CMYKcmyk(33.3%, 0%, 67.4%, 44.7%)
CIE-LABlab(53.63, -32.14, 43.99)
CIE-LCHlch(53.63, 54.48, 126.15°)
OKLaboklab(58.94% -0.0903 0.1007)
OKLCHoklch(58.94% 0.135 131.9)
XYZxyz(14.6339, 21.6262, 5.9875)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8D2E #5D2E8D
analogous
#8D8D2E #5E8D2E #2F8D2E
triadic
#5E8D2E #2E5E8D #8D2E5E
tetradic
#5E8D2E #2E8D8D #5D2E8D #8D2E2F
square
#5E8D2E #2E8D8D #5D2E8D #8D2E2F
split-complementary
#5E8D2E #2E2F8D #8D2E8D
monochromatic
#203110 #3F5F1F #5E8D2E #7DBB3D #9BCE68

Accessibility & contrast

On white

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

On black

5.33
#5E8D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8D2E
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8D2E#FFFFFF#000000##000000
##5E8D2E1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938221
Deuteranopia (green-blind)
#8C7F36
Tritanopia (blue-blind)
#5F877A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5e8d2e;
/* rgb */ color: rgb(94, 141, 46);
/* oklch */ color: oklch(58.9% 0.135 131.9);
Tailwind
colors: {
  custom: {
    50: '#8fae6c',
    500: '#5e8d2e',
    950: '#000000',
  },
}
SCSS
$custom: #5e8d2e;
$custom-light: #8fae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8d2e",
  "rgb": {
    "r": 94,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 89.684,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58936,
    "c": 0.13522,
    "h": 131.9
  },
  "luminance": 0.21627
}

Semantic roles & 50–950 ramp

primary
#5E8D2E
secondary
#8B62B5
accent
#4EDA93
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5E8D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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