#5E8A32#5E8A32

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

Color values

HEX#5E8A32
RGBrgb(94, 138, 50)
HSLhsl(90, 47%, 37%)
HSVhsv(90, 64%, 54%)
CMYKcmyk(31.9%, 0%, 63.8%, 45.9%)
CIE-LABlab(52.72, -30.38, 41.21)
CIE-LCHlch(52.72, 51.20, 126.39°)
OKLaboklab(58.2% -0.0851 0.0953)
OKLCHoklch(58.2% 0.128 131.8)
XYZxyz(14.2801, 20.7865, 6.2768)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8A32 #5E328A
analogous
#8A8A32 #5E8A32 #328A32
triadic
#5E8A32 #325E8A #8A325E
tetradic
#5E8A32 #328A8A #5E328A #8A3232
square
#5E8A32 #328A8A #5E328A #8A3232
split-complementary
#5E8A32 #32328A #8A328A
monochromatic
#213011 #3F5D22 #5E8A32 #7DB742 #9BCA6C

Accessibility & contrast

On white

4.07
#5E8A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5E8A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8A32
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8A32#FFFFFF#000000##000000
##5E8A321.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908028
Deuteranopia (green-blind)
#8A7D39
Tritanopia (blue-blind)
#5F8477
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e8a32;
/* rgb */ color: rgb(94, 138, 50);
/* oklch */ color: oklch(58.2% 0.128 131.8);
Tailwind
colors: {
  custom: {
    50: '#8fac6e',
    500: '#5e8a32',
    950: '#000000',
  },
}
SCSS
$custom: #5e8a32;
$custom-light: #8fac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8a32",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 90,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58204,
    "c": 0.12779,
    "h": 131.8
  },
  "luminance": 0.20787
}

Semantic roles & 50–950 ramp

primary
#5E8A32
secondary
#8C66B2
accent
#51D694
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5E8A32

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

Preview Lab → · Contrast checker → · Palette generator →

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