#5F8461#5F8461

#5F8461 is a mid, moderate green. Relative luminance 0.198; OKLCH L 57.6% C 0.067 H 146.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5F8461
RGBrgb(95, 132, 97)
HSLhsl(123, 16%, 45%)
HSVhsv(123, 28%, 52%)
CMYKcmyk(28%, 0%, 26.5%, 48.2%)
CIE-LABlab(51.61, -20.45, 14.83)
CIE-LCHlch(51.61, 25.26, 144.05°)
OKLaboklab(57.56% -0.0559 0.0377)
OKLCHoklch(57.56% 0.067 146)
XYZxyz(15.1276, 19.7979, 14.3313)
Luminance0.1980 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8461 #845F82
analogous
#70845F #5F8461 #5F8474
triadic
#5F8461 #615F84 #84615F
tetradic
#5F8461 #5F7084 #845F82 #84745F
square
#5F8461 #5F7084 #845F82 #84745F
split-complementary
#5F8461 #745F84 #845F70
monochromatic
#2C3D2D #456047 #5F8461 #7EA280 #A2BCA3

Accessibility & contrast

On white

4.23
#5F8461 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5F8461 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8461
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8461#FFFFFF#000000##000000
##5F84611.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#857D5F
Deuteranopia (green-blind)
#7F7963
Tritanopia (blue-blind)
#5B827B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f8461;
/* rgb */ color: rgb(95, 132, 97);
/* oklch */ color: oklch(57.6% 0.067 146.0);
Tailwind
colors: {
  custom: {
    50: '#8da88e',
    500: '#5f8461',
    950: '#000000',
  },
}
SCSS
$custom: #5f8461;
$custom-light: #8da88e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8461",
  "rgb": {
    "r": 95,
    "g": 132,
    "b": 97
  },
  "hsl": {
    "h": 123.243,
    "s": 16.3,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57556,
    "c": 0.06744,
    "h": 146
  },
  "luminance": 0.19798
}

Semantic roles & 50–950 ramp

primary
#5F8461
secondary
#AA94A9
accent
#6FB5B9
background
#F8FAF8
surface
#F0F4F0
border
#CBCECB
text
#0C0F0C
muted
#7D7F7D

Preview Lab

Preview with #5F8461

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

Preview Lab → · Contrast checker → · Palette generator →

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