#5D8319#5D8319

#5D8319 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.1% C 0.136 H 128.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5D8319
RGBrgb(93, 131, 25)
HSLhsl(82, 68%, 31%)
HSVhsv(82, 81%, 51%)
CMYKcmyk(29%, 0%, 80.9%, 48.6%)
CIE-LABlab(50.25, -29.24, 48.63)
CIE-LCHlch(50.25, 56.75, 121.01°)
OKLaboklab(56.13% -0.0841 0.1072)
OKLCHoklch(56.13% 0.136 128.1)
XYZxyz(12.8060, 18.6296, 3.8407)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8319 #3F1983
analogous
#837419 #5D8319 #288319
triadic
#5D8319 #195D83 #83195D
tetradic
#5D8319 #198374 #3F1983 #831928
square
#5D8319 #198374 #3F1983 #831928
split-complementary
#5D8319 #192883 #741983
monochromatic
#141C05 #39500F #5D8319 #81B623 #A1DA3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8319#FFFFFF#000000##000000
##5D83191.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)
#8A7900
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#617D6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5d8319;
/* rgb */ color: rgb(93, 131, 25);
/* oklch */ color: oklch(56.1% 0.136 128.1);
Tailwind
colors: {
  custom: {
    50: '#8fa760',
    500: '#5d8319',
    950: '#000000',
  },
}
SCSS
$custom: #5d8319;
$custom-light: #8fa760;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8319",
  "rgb": {
    "r": 93,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 81.509,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56126,
    "c": 0.13619,
    "h": 128.1
  },
  "luminance": 0.1863
}

Semantic roles & 50–950 ramp

primary
#5D8319
secondary
#6B41B7
accent
#3DEB7B
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D8319

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

Preview Lab → · Contrast checker → · Palette generator →

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