#5F7352#5F7352

#5F7352 is a mid, muted yellow-green. Relative luminance 0.153; OKLCH L 53.0% C 0.055 H 133.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5F7352
RGBrgb(95, 115, 82)
HSLhsl(96, 17%, 39%)
HSVhsv(96, 29%, 45%)
CMYKcmyk(17.4%, 0%, 28.7%, 54.9%)
CIE-LABlab(46.05, -14.04, 15.90)
CIE-LCHlch(46.05, 21.21, 131.45°)
OKLaboklab(52.99% -0.038 0.0402)
OKLCHoklch(52.99% 0.055 133.4)
XYZxyz(12.3727, 15.3034, 10.2830)
Luminance0.1530 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7352 #665273
analogous
#6F7352 #5F7352 #527355
triadic
#5F7352 #525F73 #73525F
tetradic
#5F7352 #526F73 #665273 #735552
square
#5F7352 #526F73 #665273 #735552
split-complementary
#5F7352 #555273 #73526F
monochromatic
#242C1F #414F39 #5F7352 #7D966C #9CB090

Accessibility & contrast

On white

5.17
#5F7352 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5F7352 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7352
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7352#FFFFFF#000000##FFFFFF
##5F73521.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766E50
Deuteranopia (green-blind)
#736C54
Tritanopia (blue-blind)
#5F706A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5f7352;
/* rgb */ color: rgb(95, 115, 82);
/* oklch */ color: oklch(53.0% 0.055 133.4);
Tailwind
colors: {
  custom: {
    50: '#8d9b82',
    500: '#5f7352',
    950: '#000000',
  },
}
SCSS
$custom: #5f7352;
$custom-light: #8d9b82;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7352",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 82
  },
  "hsl": {
    "h": 96.364,
    "s": 16.751,
    "l": 38.627
  },
  "oklch": {
    "l": 0.52989,
    "c": 0.05533,
    "h": 133.4
  },
  "luminance": 0.15304
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F7352

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

Preview Lab → · Contrast checker → · Palette generator →

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