#5F8D3E#5F8D3E

#5F8D3E is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.2% C 0.121 H 133.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5F8D3E
RGBrgb(95, 141, 62)
HSLhsl(95, 39%, 40%)
HSVhsv(95, 56%, 55%)
CMYKcmyk(32.6%, 0%, 56%, 44.7%)
CIE-LABlab(53.85, -30.18, 36.75)
CIE-LCHlch(53.85, 47.55, 129.39°)
OKLaboklab(59.18% -0.0837 0.087)
OKLCHoklch(59.18% 0.121 133.9)
XYZxyz(15.1134, 21.8299, 7.9738)
Luminance0.2183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8D3E #6C3E8D
analogous
#868D3E #5F8D3E #3E8D45
triadic
#5F8D3E #3E5F8D #8D3E5F
tetradic
#5F8D3E #3E868D #6C3E8D #8D453E
square
#5F8D3E #3E868D #6C3E8D #8D453E
split-complementary
#5F8D3E #453E8D #8D3E86
monochromatic
#263819 #42622B #5F8D3E #7CB454 #9DC77F

Accessibility & contrast

On white

3.91
#5F8D3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#5F8D3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8D3E
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8D3E#FFFFFF#000000##000000
##5F8D3E1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928336
Deuteranopia (green-blind)
#8C7F43
Tritanopia (blue-blind)
#5F887B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5f8d3e;
/* rgb */ color: rgb(95, 141, 62);
/* oklch */ color: oklch(59.2% 0.121 133.9);
Tailwind
colors: {
  custom: {
    50: '#8fae76',
    500: '#5f8d3e',
    950: '#000000',
  },
}
SCSS
$custom: #5f8d3e;
$custom-light: #8fae76;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8d3e",
  "rgb": {
    "r": 95,
    "g": 141,
    "b": 62
  },
  "hsl": {
    "h": 94.937,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5918,
    "c": 0.12068,
    "h": 133.9
  },
  "luminance": 0.2183
}

Semantic roles & 50–950 ramp

primary
#5F8D3E
secondary
#9876B1
accent
#59CF9E
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0D1008
muted
#7D7F7B

Preview Lab

Preview with #5F8D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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