#5E7236#5E7236

#5E7236 is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 52.1% C 0.088 H 124.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5E7236
RGBrgb(94, 114, 54)
HSLhsl(80, 36%, 33%)
HSVhsv(80, 53%, 45%)
CMYKcmyk(17.5%, 0%, 52.6%, 55.3%)
CIE-LABlab(45.19, -17.91, 30.57)
CIE-LCHlch(45.19, 35.43, 120.37°)
OKLaboklab(52.13% -0.0502 0.0728)
OKLCHoklch(52.13% 0.088 124.6)
XYZxyz(11.2993, 14.6806, 5.7277)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7236 #4A3672
analogous
#726836 #5E7236 #407236
triadic
#5E7236 #365E72 #72365E
tetradic
#5E7236 #367268 #4A3672 #723640
square
#5E7236 #367268 #4A3672 #723640
split-complementary
#5E7236 #364072 #683672
monochromatic
#1A1F0F #3C4822 #5E7236 #809C4A #9EB86A

Accessibility & contrast

On white

5.34
#5E7236 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5E7236 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7236
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7236#FFFFFF#000000##FFFFFF
##5E72361.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786C31
Deuteranopia (green-blind)
#756B3A
Tritanopia (blue-blind)
#626D64
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e7236;
/* rgb */ color: rgb(94, 114, 54);
/* oklch */ color: oklch(52.1% 0.088 124.6);
Tailwind
colors: {
  custom: {
    50: '#8d9a6f',
    500: '#5e7236',
    950: '#000000',
  },
}
SCSS
$custom: #5e7236;
$custom-light: #8d9a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7236",
  "rgb": {
    "r": 94,
    "g": 114,
    "b": 54
  },
  "hsl": {
    "h": 80,
    "s": 35.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52133,
    "c": 0.08843,
    "h": 124.6
  },
  "luminance": 0.14681
}

Semantic roles & 50–950 ramp

primary
#5E7236
secondary
#7763A1
accent
#5CCC81
background
#F8F9F6
surface
#F0F2EC
border
#CBCCC7
text
#0C0E07
muted
#7D7E7A

Preview Lab

Preview with #5E7236

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

Preview Lab → · Contrast checker → · Palette generator →

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