#5F7051#5F7051

#5F7051 is a mid, muted yellow-green. Relative luminance 0.146; OKLCH L 52.2% C 0.051 H 131.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5F7051
RGBrgb(95, 112, 81)
HSLhsl(93, 16%, 38%)
HSVhsv(93, 28%, 44%)
CMYKcmyk(15.2%, 0%, 27.7%, 56.1%)
CIE-LABlab(45.10, -12.55, 15.20)
CIE-LCHlch(45.10, 19.71, 129.55°)
OKLaboklab(52.23% -0.0339 0.0385)
OKLCHoklch(52.23% 0.051 131.4)
XYZxyz(11.9984, 14.6152, 9.9719)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7051 #625170
analogous
#6E7051 #5F7051 #517052
triadic
#5F7051 #515F70 #70515F
tetradic
#5F7051 #516E70 #625170 #705251
square
#5F7051 #516E70 #625170 #705251
split-complementary
#5F7051 #525170 #70516E
monochromatic
#23291E #414C37 #5F7051 #7D946B #9CAD8E

Accessibility & contrast

On white

5.35
#5F7051 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5F7051 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7051
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7051#FFFFFF#000000##FFFFFF
##5F70511.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736C4F
Deuteranopia (green-blind)
#706A52
Tritanopia (blue-blind)
#606D68
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5f7051;
/* rgb */ color: rgb(95, 112, 81);
/* oklch */ color: oklch(52.2% 0.051 131.4);
Tailwind
colors: {
  custom: {
    50: '#8c9982',
    500: '#5f7051',
    950: '#000000',
  },
}
SCSS
$custom: #5f7051;
$custom-light: #8c9982;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7051",
  "rgb": {
    "r": 95,
    "g": 112,
    "b": 81
  },
  "hsl": {
    "h": 92.903,
    "s": 16.062,
    "l": 37.843
  },
  "oklch": {
    "l": 0.52227,
    "c": 0.05127,
    "h": 131.4
  },
  "luminance": 0.14615
}

Semantic roles & 50–950 ramp

primary
#5F7051
secondary
#90829B
accent
#6FB997
background
#F8F9F7
surface
#F0F2EE
border
#CBCCC9
text
#0C0D0A
muted
#7D7E7C

Preview Lab

Preview with #5F7051

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

Preview Lab → · Contrast checker → · Palette generator →

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