#5F8043#5F8043

#5F8043 is a mid, moderate yellow-green. Relative luminance 0.183; OKLCH L 55.9% C 0.095 H 132.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5F8043
RGBrgb(95, 128, 67)
HSLhsl(92, 31%, 38%)
HSVhsv(92, 48%, 50%)
CMYKcmyk(25.8%, 0%, 47.7%, 49.8%)
CIE-LABlab(49.83, -23.18, 29.29)
CIE-LCHlch(49.83, 37.35, 128.37°)
OKLaboklab(55.95% -0.064 0.0709)
OKLCHoklch(55.95% 0.095 132.1)
XYZxyz(13.4514, 18.2761, 8.1280)
Luminance0.1828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8043 #644380
analogous
#7D8043 #5F8043 #438045
triadic
#5F8043 #435F80 #80435F
tetradic
#5F8043 #437D80 #644380 #804543
square
#5F8043 #437D80 #644380 #804543
split-complementary
#5F8043 #454380 #80437D
monochromatic
#233019 #41582E #5F8043 #7DA858 #9CBD81

Accessibility & contrast

On white

4.51
#5F8043 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#5F8043 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8043
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8043#FFFFFF#000000##000000
##5F80431.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85783E
Deuteranopia (green-blind)
#807647
Tritanopia (blue-blind)
#607C72
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f8043;
/* rgb */ color: rgb(95, 128, 67);
/* oklch */ color: oklch(55.9% 0.095 132.1);
Tailwind
colors: {
  custom: {
    50: '#8ea578',
    500: '#5f8043',
    950: '#000000',
  },
}
SCSS
$custom: #5f8043;
$custom-light: #8ea578;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8043",
  "rgb": {
    "r": 95,
    "g": 128,
    "b": 67
  },
  "hsl": {
    "h": 92.459,
    "s": 31.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.55946,
    "c": 0.09546,
    "h": 132.1
  },
  "luminance": 0.18276
}

Semantic roles & 50–950 ramp

primary
#5F8043
secondary
#9177A8
accent
#60C798
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C0F09
muted
#7D7F7B

Preview Lab

Preview with #5F8043

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

Preview Lab → · Contrast checker → · Palette generator →

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