#5D841E#5D841E

#5D841E is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.4% C 0.135 H 128.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5D841E
RGBrgb(93, 132, 30)
HSLhsl(83, 63%, 32%)
HSVhsv(83, 77%, 52%)
CMYKcmyk(29.5%, 0%, 77.3%, 48.2%)
CIE-LABlab(50.60, -29.44, 47.27)
CIE-LCHlch(50.60, 55.69, 121.92°)
OKLaboklab(56.42% -0.0842 0.1051)
OKLCHoklch(56.42% 0.135 128.7)
XYZxyz(12.9998, 18.9231, 4.1957)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D841E #451E84
analogous
#84781E #5D841E #2A841E
triadic
#5D841E #1E5D84 #841E5D
tetradic
#5D841E #1E8478 #451E84 #841E2A
square
#5D841E #1E8478 #451E84 #841E2A
split-complementary
#5D841E #1E2A84 #781E84
monochromatic
#172007 #3A5213 #5D841E #80B629 #9FD547

Accessibility & contrast

On white

4.39
#5D841E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5D841E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D841E
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D841E#FFFFFF#000000##000000
##5D841E1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A07
Deuteranopia (green-blind)
#857828
Tritanopia (blue-blind)
#607E71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5d841e;
/* rgb */ color: rgb(93, 132, 30);
/* oklch */ color: oklch(56.4% 0.135 128.7);
Tailwind
colors: {
  custom: {
    50: '#8fa862',
    500: '#5d841e',
    950: '#000000',
  },
}
SCSS
$custom: #5d841e;
$custom-light: #8fa862;
$custom-dark: #000000;
JSON
{
  "hex": "#5d841e",
  "rgb": {
    "r": 93,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 82.941,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56417,
    "c": 0.1347,
    "h": 128.7
  },
  "luminance": 0.18923
}

Semantic roles & 50–950 ramp

primary
#5D841E
secondary
#7247B7
accent
#42E681
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5D841E

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

Preview Lab → · Contrast checker → · Palette generator →

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