#5D862F#5D862F

#5D862F is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 57.1% C 0.125 H 130.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5D862F
RGBrgb(93, 134, 47)
HSLhsl(88, 48%, 35%)
HSVhsv(88, 65%, 53%)
CMYKcmyk(30.6%, 0%, 64.9%, 47.5%)
CIE-LABlab(51.36, -29.14, 41.09)
CIE-LCHlch(51.36, 50.37, 125.34°)
OKLaboklab(57.08% -0.0819 0.0947)
OKLCHoklch(57.08% 0.125 130.9)
XYZxyz(13.5523, 19.5822, 5.7545)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D862F #582F86
analogous
#86832F #5D862F #31862F
triadic
#5D862F #2F5D86 #862F5D
tetradic
#5D862F #2F8683 #582F86 #862F31
square
#5D862F #2F8683 #582F86 #862F31
split-complementary
#5D862F #2F3186 #832F86
monochromatic
#1E2B0F #3E591F #5D862F #7CB33F #9BC966

Accessibility & contrast

On white

4.27
#5D862F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5D862F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D862F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D862F#FFFFFF#000000##000000
##5D862F1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C24
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#5F8074
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5d862f;
/* rgb */ color: rgb(93, 134, 47);
/* oklch */ color: oklch(57.1% 0.125 130.9);
Tailwind
colors: {
  custom: {
    50: '#8ea96c',
    500: '#5d862f',
    950: '#000000',
  },
}
SCSS
$custom: #5d862f;
$custom-light: #8ea96c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d862f",
  "rgb": {
    "r": 93,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 88.276,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57079,
    "c": 0.1252,
    "h": 130.9
  },
  "luminance": 0.19583
}

Semantic roles & 50–950 ramp

primary
#5D862F
secondary
#8660B0
accent
#50D890
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5D862F

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

Preview Lab → · Contrast checker → · Palette generator →

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