#5E8331#5E8331

#5E8331 is a mid, moderate yellow-green. Relative luminance 0.188; OKLCH L 56.4% C 0.119 H 130.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5E8331
RGBrgb(94, 131, 49)
HSLhsl(87, 46%, 35%)
HSVhsv(87, 63%, 51%)
CMYKcmyk(28.2%, 0%, 62.6%, 48.6%)
CIE-LABlab(50.49, -27.11, 39.22)
CIE-LCHlch(50.49, 47.67, 124.66°)
OKLaboklab(56.4% -0.0762 0.0909)
OKLCHoklch(56.4% 0.119 130)
XYZxyz(13.2867, 18.8337, 5.8404)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8331 #563183
analogous
#837F31 #5E8331 #358331
triadic
#5E8331 #315E83 #83315E
tetradic
#5E8331 #31837F #563183 #833135
square
#5E8331 #31837F #563183 #833135
split-complementary
#5E8331 #313583 #7F3183
monochromatic
#1E2A10 #3E5620 #5E8331 #7EB042 #9CC668

Accessibility & contrast

On white

4.41
#5E8331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5E8331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8331
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8331#FFFFFF#000000##000000
##5E83311.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A28
Deuteranopia (green-blind)
#847737
Tritanopia (blue-blind)
#607E72
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5e8331;
/* rgb */ color: rgb(94, 131, 49);
/* oklch */ color: oklch(56.4% 0.119 130.0);
Tailwind
colors: {
  custom: {
    50: '#8ea76d',
    500: '#5e8331',
    950: '#000000',
  },
}
SCSS
$custom: #5e8331;
$custom-light: #8ea76d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8331",
  "rgb": {
    "r": 94,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 87.073,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56396,
    "c": 0.11866,
    "h": 130
  },
  "luminance": 0.18834
}

Semantic roles & 50–950 ramp

primary
#5E8331
secondary
#8462AE
accent
#53D58E
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0D0F07
muted
#7D7F7A

Preview Lab

Preview with #5E8331

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

Preview Lab → · Contrast checker → · Palette generator →

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