#5F8136#5F8136

#5F8136 is a mid, moderate yellow-green. Relative luminance 0.184; OKLCH L 56.0% C 0.111 H 129.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5F8136
RGBrgb(95, 129, 54)
HSLhsl(87, 41%, 36%)
HSVhsv(87, 58%, 51%)
CMYKcmyk(26.4%, 0%, 58.1%, 49.4%)
CIE-LABlab(49.98, -25.22, 36.22)
CIE-LCHlch(49.98, 44.14, 124.85°)
OKLaboklab(56.01% -0.0706 0.0851)
OKLCHoklch(56.01% 0.111 129.7)
XYZxyz(13.2353, 18.3994, 6.3434)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8136 #583681
analogous
#817D36 #5F8136 #398136
triadic
#5F8136 #365F81 #81365F
tetradic
#5F8136 #36817D #583681 #813639
square
#5F8136 #36817D #583681 #813639
split-complementary
#5F8136 #363981 #7D3681
monochromatic
#1F2B12 #3F5624 #5F8136 #7FAC48 #9DC36F

Accessibility & contrast

On white

4.49
#5F8136 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#5F8136 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8136
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8136#FFFFFF#000000##000000
##5F81361.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87782E
Deuteranopia (green-blind)
#82763B
Tritanopia (blue-blind)
#617C70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5f8136;
/* rgb */ color: rgb(95, 129, 54);
/* oklch */ color: oklch(56.0% 0.111 129.7);
Tailwind
colors: {
  custom: {
    50: '#8fa570',
    500: '#5f8136',
    950: '#000000',
  },
}
SCSS
$custom: #5f8136;
$custom-light: #8fa570;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8136",
  "rgb": {
    "r": 95,
    "g": 129,
    "b": 54
  },
  "hsl": {
    "h": 87.2,
    "s": 40.984,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56012,
    "c": 0.11057,
    "h": 129.7
  },
  "luminance": 0.184
}

Semantic roles & 50–950 ramp

primary
#5F8136
secondary
#8668AB
accent
#57D18E
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5F8136

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

Preview Lab → · Contrast checker → · Palette generator →

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