#5D862A#5D862A

#5D862A is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.0% C 0.129 H 130.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5D862A
RGBrgb(93, 134, 42)
HSLhsl(87, 52%, 35%)
HSVhsv(87, 69%, 53%)
CMYKcmyk(30.6%, 0%, 68.7%, 47.5%)
CIE-LABlab(51.32, -29.56, 43.26)
CIE-LCHlch(51.32, 52.39, 124.35°)
OKLaboklab(57.03% -0.0835 0.0986)
OKLCHoklch(57.03% 0.129 130.3)
XYZxyz(13.4571, 19.5441, 5.2534)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D862A #532A86
analogous
#86812A #5D862A #2F862A
triadic
#5D862A #2A5D86 #862A5D
tetradic
#5D862A #2A8681 #532A86 #862A2F
square
#5D862A #2A8681 #532A86 #862A2F
split-complementary
#5D862A #2A2F86 #812A86
monochromatic
#1C290D #3D571B #5D862A #7DB539 #9BCD5E

Accessibility & contrast

On white

4.28
#5D862A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D862A#FFFFFF#000000##000000
##5D862A1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1D
Deuteranopia (green-blind)
#867932
Tritanopia (blue-blind)
#5F8073
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5d862a;
/* rgb */ color: rgb(93, 134, 42);
/* oklch */ color: oklch(57.0% 0.129 130.3);
Tailwind
colors: {
  custom: {
    50: '#8ea969',
    500: '#5d862a',
    950: '#000000',
  },
}
SCSS
$custom: #5d862a;
$custom-light: #8ea969;
$custom-dark: #000000;
JSON
{
  "hex": "#5d862a",
  "rgb": {
    "r": 93,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 86.739,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5703,
    "c": 0.12921,
    "h": 130.3
  },
  "luminance": 0.19545
}

Semantic roles & 50–950 ramp

primary
#5D862A
secondary
#815AB2
accent
#4CDC8C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1006
muted
#7D7F7A

Preview Lab

Preview with #5D862A

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

Preview Lab → · Contrast checker → · Palette generator →

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