#5D842E#5D842E

#5D842E is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.6% C 0.123 H 130.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5D842E
RGBrgb(93, 132, 46)
HSLhsl(87, 48%, 35%)
HSVhsv(87, 65%, 52%)
CMYKcmyk(29.5%, 0%, 65.2%, 48.2%)
CIE-LABlab(50.72, -28.27, 40.84)
CIE-LCHlch(50.72, 49.67, 124.69°)
OKLaboklab(56.55% -0.0796 0.094)
OKLCHoklch(56.55% 0.123 130.3)
XYZxyz(13.2585, 19.0266, 5.5582)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D842E #552E84
analogous
#84802E #5D842E #32842E
triadic
#5D842E #2E5D84 #842E5D
tetradic
#5D842E #2E8480 #552E84 #842E32
square
#5D842E #2E8480 #552E84 #842E32
split-complementary
#5D842E #2E3284 #802E84
monochromatic
#1D290E #3D571E #5D842E #7DB13E #9BC964

Accessibility & contrast

On white

4.37
#5D842E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5D842E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D842E
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D842E#FFFFFF#000000##000000
##5D842E1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B23
Deuteranopia (green-blind)
#847835
Tritanopia (blue-blind)
#5F7E72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5d842e;
/* rgb */ color: rgb(93, 132, 46);
/* oklch */ color: oklch(56.6% 0.123 130.3);
Tailwind
colors: {
  custom: {
    50: '#8ea86b',
    500: '#5d842e',
    950: '#000000',
  },
}
SCSS
$custom: #5d842e;
$custom-light: #8ea86b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d842e",
  "rgb": {
    "r": 93,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 87.209,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56554,
    "c": 0.1232,
    "h": 130.3
  },
  "luminance": 0.19027
}

Semantic roles & 50–950 ramp

primary
#5D842E
secondary
#835EB0
accent
#50D88E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5D842E

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

Preview Lab → · Contrast checker → · Palette generator →

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