#5D862B#5D862B

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

Color values

HEX#5D862B
RGBrgb(93, 134, 43)
HSLhsl(87, 51%, 35%)
HSVhsv(87, 68%, 53%)
CMYKcmyk(30.6%, 0%, 67.9%, 47.5%)
CIE-LABlab(51.33, -29.48, 42.83)
CIE-LCHlch(51.33, 52.00, 124.54°)
OKLaboklab(57.04% -0.0832 0.0978)
OKLCHoklch(57.04% 0.128 130.4)
XYZxyz(13.4752, 19.5514, 5.3489)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D862B #542B86
analogous
#86822B #5D862B #30862B
triadic
#5D862B #2B5D86 #862B5D
tetradic
#5D862B #2B8682 #542B86 #862B30
square
#5D862B #2B8682 #542B86 #862B30
split-complementary
#5D862B #2B3086 #822B86
monochromatic
#1D290D #3D581C #5D862B #7DB43A #9BCC60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D862B#FFFFFF#000000##000000
##5D862B1.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)
#8C7C1F
Deuteranopia (green-blind)
#867932
Tritanopia (blue-blind)
#5F8073
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5d862b;
/* rgb */ color: rgb(93, 134, 43);
/* oklch */ color: oklch(57.0% 0.128 130.4);
Tailwind
colors: {
  custom: {
    50: '#8ea969',
    500: '#5d862b',
    950: '#000000',
  },
}
SCSS
$custom: #5d862b;
$custom-light: #8ea969;
$custom-dark: #000000;
JSON
{
  "hex": "#5d862b",
  "rgb": {
    "r": 93,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 87.033,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57039,
    "c": 0.12844,
    "h": 130.4
  },
  "luminance": 0.19552
}

Semantic roles & 50–950 ramp

primary
#5D862B
secondary
#825BB2
accent
#4DDB8D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5D862B

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

Preview Lab → · Contrast checker → · Palette generator →

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