#5F7E4D#5F7E4D

#5F7E4D is a mid, moderate yellow-green. Relative luminance 0.179; OKLCH L 55.6% C 0.081 H 134.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5F7E4D
RGBrgb(95, 126, 77)
HSLhsl(98, 24%, 40%)
HSVhsv(98, 39%, 49%)
CMYKcmyk(24.6%, 0%, 38.9%, 50.6%)
CIE-LABlab(49.36, -20.73, 23.18)
CIE-LCHlch(49.36, 31.10, 131.81°)
OKLaboklab(55.62% -0.0567 0.0574)
OKLCHoklch(55.62% 0.081 134.6)
XYZxyz(13.5194, 17.8901, 9.7606)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7E4D #6C4D7E
analogous
#787E4D #5F7E4D #4D7E53
triadic
#5F7E4D #4D5F7E #7E4D5F
tetradic
#5F7E4D #4D787E #6C4D7E #7E534D
square
#5F7E4D #4D787E #6C4D7E #7E534D
split-complementary
#5F7E4D #534D7E #7E4D78
monochromatic
#26321F #425836 #5F7E4D #7CA266 #9DB98C

Accessibility & contrast

On white

4.59
#5F7E4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5F7E4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7E4D
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7E4D#FFFFFF#000000##FFFFFF
##5F7E4D1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82774A
Deuteranopia (green-blind)
#7D7450
Tritanopia (blue-blind)
#5F7A72
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f7e4d;
/* rgb */ color: rgb(95, 126, 77);
/* oklch */ color: oklch(55.6% 0.081 134.6);
Tailwind
colors: {
  custom: {
    50: '#8da37f',
    500: '#5f7e4d',
    950: '#000000',
  },
}
SCSS
$custom: #5f7e4d;
$custom-light: #8da37f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7e4d",
  "rgb": {
    "r": 95,
    "g": 126,
    "b": 77
  },
  "hsl": {
    "h": 97.959,
    "s": 24.138,
    "l": 39.804
  },
  "oklch": {
    "l": 0.55621,
    "c": 0.08064,
    "h": 134.6
  },
  "luminance": 0.1789
}

Semantic roles & 50–950 ramp

primary
#5F7E4D
secondary
#9881A6
accent
#67C1A0
background
#F8FAF7
surface
#F0F3EE
border
#CBCDC9
text
#0C0F0A
muted
#7D7F7C

Preview Lab

Preview with #5F7E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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