#5D831E#5D831E

#5D831E is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.2% C 0.133 H 128.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5D831E
RGBrgb(93, 131, 30)
HSLhsl(83, 63%, 32%)
HSVhsv(83, 77%, 51%)
CMYKcmyk(29%, 0%, 77.1%, 48.6%)
CIE-LABlab(50.28, -28.97, 46.96)
CIE-LCHlch(50.28, 55.18, 121.67°)
OKLaboklab(56.16% -0.0829 0.1045)
OKLCHoklch(56.16% 0.133 128.4)
XYZxyz(12.8648, 18.6532, 4.1507)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D831E #441E83
analogous
#83771E #5D831E #2B831E
triadic
#5D831E #1E5D83 #831E5D
tetradic
#5D831E #1E8377 #441E83 #831E2B
square
#5D831E #1E8377 #441E83 #831E2B
split-complementary
#5D831E #1E2B83 #771E83
monochromatic
#161F07 #3A5113 #5D831E #80B529 #9FD547

Accessibility & contrast

On white

4.44
#5D831E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5D831E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D831E
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D831E#FFFFFF#000000##000000
##5D831E1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7908
Deuteranopia (green-blind)
#847728
Tritanopia (blue-blind)
#607D70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5d831e;
/* rgb */ color: rgb(93, 131, 30);
/* oklch */ color: oklch(56.2% 0.133 128.4);
Tailwind
colors: {
  custom: {
    50: '#8ea762',
    500: '#5d831e',
    950: '#000000',
  },
}
SCSS
$custom: #5d831e;
$custom-light: #8ea762;
$custom-dark: #000000;
JSON
{
  "hex": "#5d831e",
  "rgb": {
    "r": 93,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 82.574,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56158,
    "c": 0.13339,
    "h": 128.4
  },
  "luminance": 0.18653
}

Semantic roles & 50–950 ramp

primary
#5D831E
secondary
#7147B6
accent
#42E680
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5D831E

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

Preview Lab → · Contrast checker → · Palette generator →

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