#5D851D#5D851D

#5D851D is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.7% C 0.137 H 128.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5D851D
RGBrgb(93, 133, 29)
HSLhsl(83, 64%, 32%)
HSVhsv(83, 78%, 52%)
CMYKcmyk(30.1%, 0%, 78.2%, 47.8%)
CIE-LABlab(50.91, -29.97, 47.92)
CIE-LCHlch(50.91, 56.52, 122.03°)
OKLaboklab(56.67% -0.0858 0.1063)
OKLCHoklch(56.67% 0.137 128.9)
XYZxyz(13.1235, 19.1906, 4.1749)
Luminance0.1919 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D851D #451D85
analogous
#85791D #5D851D #29851D
triadic
#5D851D #1D5D85 #851D5D
tetradic
#5D851D #1D8579 #451D85 #851D29
square
#5D851D #1D8579 #451D85 #851D29
split-complementary
#5D851D #1D2985 #791D85
monochromatic
#172107 #3A5312 #5D851D #80B728 #9FD746

Accessibility & contrast

On white

4.34
#5D851D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5D851D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D851D
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D851D#FFFFFF#000000##000000
##5D851D1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B04
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#607F71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5d851d;
/* rgb */ color: rgb(93, 133, 29);
/* oklch */ color: oklch(56.7% 0.137 128.9);
Tailwind
colors: {
  custom: {
    50: '#8fa862',
    500: '#5d851d',
    950: '#000000',
  },
}
SCSS
$custom: #5d851d;
$custom-light: #8fa862;
$custom-dark: #000000;
JSON
{
  "hex": "#5d851d",
  "rgb": {
    "r": 93,
    "g": 133,
    "b": 29
  },
  "hsl": {
    "h": 83.077,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56669,
    "c": 0.13659,
    "h": 128.9
  },
  "luminance": 0.19191
}

Semantic roles & 50–950 ramp

primary
#5D851D
secondary
#7246B8
accent
#41E781
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5D851D

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

Preview Lab → · Contrast checker → · Palette generator →

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