#5E7252#5E7252

#5E7252 is a mid, muted yellow-green. Relative luminance 0.150; OKLCH L 52.7% C 0.054 H 134.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5E7252
RGBrgb(94, 114, 82)
HSLhsl(98, 16%, 38%)
HSVhsv(98, 28%, 45%)
CMYKcmyk(17.5%, 0%, 28.1%, 55.3%)
CIE-LABlab(45.67, -13.89, 15.37)
CIE-LCHlch(45.67, 20.71, 132.10°)
OKLaboklab(52.67% -0.0376 0.0389)
OKLCHoklch(52.67% 0.054 134)
XYZxyz(12.1561, 15.0233, 10.2404)
Luminance0.1502 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7252 #665272
analogous
#6E7252 #5E7252 #527256
triadic
#5E7252 #525E72 #72525E
tetradic
#5E7252 #526E72 #665272 #725652
square
#5E7252 #526E72 #665272 #725652
split-complementary
#5E7252 #565272 #72526E
monochromatic
#232B1F #414E38 #5E7252 #7B956C #9BAF90

Accessibility & contrast

On white

5.24
#5E7252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5E7252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7252
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7252#FFFFFF#000000##FFFFFF
##5E72521.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756D50
Deuteranopia (green-blind)
#726C54
Tritanopia (blue-blind)
#5E6F69
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5e7252;
/* rgb */ color: rgb(94, 114, 82);
/* oklch */ color: oklch(52.7% 0.054 134.0);
Tailwind
colors: {
  custom: {
    50: '#8c9a82',
    500: '#5e7252',
    950: '#000000',
  },
}
SCSS
$custom: #5e7252;
$custom-light: #8c9a82;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7252",
  "rgb": {
    "r": 94,
    "g": 114,
    "b": 82
  },
  "hsl": {
    "h": 97.5,
    "s": 16.327,
    "l": 38.431
  },
  "oklch": {
    "l": 0.52666,
    "c": 0.05411,
    "h": 134
  },
  "luminance": 0.15024
}

Semantic roles & 50–950 ramp

primary
#5E7252
secondary
#93839D
accent
#6FB99D
background
#F8F9F8
surface
#F0F2EF
border
#CBCCCA
text
#0C0E0A
muted
#7D7E7C

Preview Lab

Preview with #5E7252

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

Preview Lab → · Contrast checker → · Palette generator →

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