#5D862D#5D862D

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

Color values

HEX#5D862D
RGBrgb(93, 134, 45)
HSLhsl(88, 50%, 35%)
HSVhsv(88, 66%, 53%)
CMYKcmyk(30.6%, 0%, 66.4%, 47.5%)
CIE-LABlab(51.34, -29.31, 41.97)
CIE-LCHlch(51.34, 51.19, 124.93°)
OKLaboklab(57.06% -0.0826 0.0963)
OKLCHoklch(57.06% 0.127 130.6)
XYZxyz(13.5128, 19.5664, 5.5469)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D862D #562D86
analogous
#86822D #5D862D #31862D
triadic
#5D862D #2D5D86 #862D5D
tetradic
#5D862D #2D8682 #562D86 #862D31
square
#5D862D #2D8682 #562D86 #862D31
split-complementary
#5D862D #2D3186 #822D86
monochromatic
#1D2A0E #3D581E #5D862D #7DB43C #9BCB63

Accessibility & contrast

On white

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

On black

4.91
#5D862D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D862D
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D862D#FFFFFF#000000##000000
##5D862D1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d862d;
/* rgb */ color: rgb(93, 134, 45);
/* oklch */ color: oklch(57.1% 0.127 130.6);
Tailwind
colors: {
  custom: {
    50: '#8ea96a',
    500: '#5d862d',
    950: '#000000',
  },
}
SCSS
$custom: #5d862d;
$custom-light: #8ea96a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d862d",
  "rgb": {
    "r": 93,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 87.64,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57059,
    "c": 0.12684,
    "h": 130.6
  },
  "luminance": 0.19567
}

Semantic roles & 50–950 ramp

primary
#5D862D
secondary
#845EB1
accent
#4FD98E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5D862D

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

Preview Lab → · Contrast checker → · Palette generator →

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