#5E7331#5E7331

#5E7331 is a mid, moderate yellow-green. Relative luminance 0.149; OKLCH L 52.3% C 0.095 H 124.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5E7331
RGBrgb(94, 115, 49)
HSLhsl(79, 40%, 32%)
HSVhsv(79, 57%, 45%)
CMYKcmyk(18.3%, 0%, 57.4%, 54.9%)
CIE-LABlab(45.45, -18.99, 33.48)
CIE-LCHlch(45.45, 38.49, 119.56°)
OKLaboklab(52.32% -0.0537 0.0786)
OKLCHoklch(52.32% 0.095 124.3)
XYZxyz(11.3012, 14.8628, 5.1786)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7331 #463173
analogous
#736731 #5E7331 #3D7331
triadic
#5E7331 #315E73 #73315E
tetradic
#5E7331 #317367 #463173 #73313D
square
#5E7331 #317367 #463173 #73313D
split-complementary
#5E7331 #313D73 #673173
monochromatic
#181D0C #3B481F #5E7331 #819E43 #A0BC62

Accessibility & contrast

On white

5.29
#5E7331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5E7331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7331
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7331#FFFFFF#000000##FFFFFF
##5E73311.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C2A
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#626E64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5e7331;
/* rgb */ color: rgb(94, 115, 49);
/* oklch */ color: oklch(52.3% 0.095 124.3);
Tailwind
colors: {
  custom: {
    50: '#8d9b6b',
    500: '#5e7331',
    950: '#000000',
  },
}
SCSS
$custom: #5e7331;
$custom-light: #8d9b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7331",
  "rgb": {
    "r": 94,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 79.091,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52316,
    "c": 0.09522,
    "h": 124.3
  },
  "luminance": 0.14863
}

Semantic roles & 50–950 ramp

primary
#5E7331
secondary
#735CA4
accent
#58D07E
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E07
muted
#7D7E7A

Preview Lab

Preview with #5E7331

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

Preview Lab → · Contrast checker → · Palette generator →

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