#5E7232#5E7232

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

Color values

HEX#5E7232
RGBrgb(94, 114, 50)
HSLhsl(79, 39%, 32%)
HSVhsv(79, 56%, 45%)
CMYKcmyk(17.5%, 0%, 56.1%, 55.3%)
CIE-LABlab(45.14, -18.35, 32.61)
CIE-LCHlch(45.14, 37.42, 119.37°)
OKLaboklab(52.08% -0.0518 0.0769)
OKLCHoklch(52.08% 0.093 124)
XYZxyz(11.2092, 14.6445, 5.2531)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7232 #463272
analogous
#726632 #5E7232 #3E7232
triadic
#5E7232 #325E72 #72325E
tetradic
#5E7232 #327266 #463272 #72323E
square
#5E7232 #327266 #463272 #72323E
split-complementary
#5E7232 #323E72 #663272
monochromatic
#181D0D #3B471F #5E7232 #819D45 #A0BB64

Accessibility & contrast

On white

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

On black

3.93
#5E7232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5E7232#FFFFFF#000000##FFFFFF
##5E72321.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e7232;
/* rgb */ color: rgb(94, 114, 50);
/* oklch */ color: oklch(52.1% 0.093 124.0);
Tailwind
colors: {
  custom: {
    50: '#8d9a6c',
    500: '#5e7232',
    950: '#000000',
  },
}
SCSS
$custom: #5e7232;
$custom-light: #8d9a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7232",
  "rgb": {
    "r": 94,
    "g": 114,
    "b": 50
  },
  "hsl": {
    "h": 78.75,
    "s": 39.024,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52076,
    "c": 0.09271,
    "h": 124
  },
  "luminance": 0.14645
}

Semantic roles & 50–950 ramp

primary
#5E7232
secondary
#735DA3
accent
#59CF7E
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E07
muted
#7D7E7A

Preview Lab

Preview with #5E7232

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

Preview Lab → · Contrast checker → · Palette generator →

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