#5F7350#5F7350

#5F7350 is a mid, muted yellow-green. Relative luminance 0.153; OKLCH L 52.9% C 0.058 H 132.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5F7350
RGBrgb(95, 115, 80)
HSLhsl(94, 18%, 38%)
HSVhsv(94, 30%, 45%)
CMYKcmyk(17.4%, 0%, 30.4%, 54.9%)
CIE-LABlab(46.01, -14.38, 17.01)
CIE-LCHlch(46.01, 22.27, 130.21°)
OKLaboklab(52.94% -0.039 0.0428)
OKLCHoklch(52.94% 0.058 132.3)
XYZxyz(12.2978, 15.2734, 9.8880)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7350 #645073
analogous
#707350 #5F7350 #507352
triadic
#5F7350 #505F73 #73505F
tetradic
#5F7350 #507073 #645073 #735250
square
#5F7350 #507073 #645073 #735250
split-complementary
#5F7350 #525073 #735070
monochromatic
#232B1E #414F37 #5F7350 #7D9769 #9CB08D

Accessibility & contrast

On white

5.18
#5F7350 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5F7350 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7350
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7350#FFFFFF#000000##FFFFFF
##5F73501.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766E4E
Deuteranopia (green-blind)
#736C52
Tritanopia (blue-blind)
#60706A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5f7350;
/* rgb */ color: rgb(95, 115, 80);
/* oklch */ color: oklch(52.9% 0.058 132.3);
Tailwind
colors: {
  custom: {
    50: '#8d9b81',
    500: '#5f7350',
    950: '#000000',
  },
}
SCSS
$custom: #5f7350;
$custom-light: #8d9b81;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7350",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 80
  },
  "hsl": {
    "h": 94.286,
    "s": 17.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.52944,
    "c": 0.05791,
    "h": 132.3
  },
  "luminance": 0.15274
}

Semantic roles & 50–950 ramp

primary
#5F7350
secondary
#91819D
accent
#6DBB99
background
#F8F9F7
surface
#F0F2EE
border
#CBCCC9
text
#0C0E0A
muted
#7D7E7C

Preview Lab

Preview with #5F7350

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

Preview Lab → · Contrast checker → · Palette generator →

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