#5F893E#5F893E

#5F893E is a mid, moderate yellow-green. Relative luminance 0.207; OKLCH L 58.2% C 0.115 H 133.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5F893E
RGBrgb(95, 137, 62)
HSLhsl(94, 38%, 39%)
HSVhsv(94, 55%, 54%)
CMYKcmyk(30.7%, 0%, 54.7%, 46.3%)
CIE-LABlab(52.59, -28.26, 35.26)
CIE-LCHlch(52.59, 45.19, 128.71°)
OKLaboklab(58.16% -0.0784 0.0837)
OKLCHoklch(58.16% 0.115 133.1)
XYZxyz(14.5342, 20.6715, 7.7807)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F893E #683E89
analogous
#85893E #5F893E #3E8943
triadic
#5F893E #3E5F89 #893E5F
tetradic
#5F893E #3E8589 #683E89 #89433E
square
#5F893E #3E8589 #683E89 #89433E
split-complementary
#5F893E #433E89 #893E85
monochromatic
#253518 #425F2B #5F893E #7CB153 #9CC47D

Accessibility & contrast

On white

4.09
#5F893E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5F893E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F893E
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F893E#FFFFFF#000000##000000
##5F893E1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8037
Deuteranopia (green-blind)
#887C43
Tritanopia (blue-blind)
#608478
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f893e;
/* rgb */ color: rgb(95, 137, 62);
/* oklch */ color: oklch(58.2% 0.115 133.1);
Tailwind
colors: {
  custom: {
    50: '#8fab75',
    500: '#5f893e',
    950: '#000000',
  },
}
SCSS
$custom: #5f893e;
$custom-light: #8fab75;
$custom-dark: #000000;
JSON
{
  "hex": "#5f893e",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 62
  },
  "hsl": {
    "h": 93.6,
    "s": 37.688,
    "l": 39.02
  },
  "oklch": {
    "l": 0.58159,
    "c": 0.11468,
    "h": 133.1
  },
  "luminance": 0.20672
}

Semantic roles & 50–950 ramp

primary
#5F893E
secondary
#9574AE
accent
#5ACE9B
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0D1008
muted
#7D7F7B

Preview Lab

Preview with #5F893E

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

Preview Lab → · Contrast checker → · Palette generator →

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