#5D8310#5D8310

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

Color values

HEX#5D8310
RGBrgb(93, 131, 16)
HSLhsl(80, 78%, 29%)
HSVhsv(80, 88%, 51%)
CMYKcmyk(29%, 0%, 87.8%, 48.6%)
CIE-LABlab(50.21, -29.62, 51.12)
CIE-LCHlch(50.21, 59.08, 120.09°)
OKLaboklab(56.08% -0.0857 0.111)
OKLCHoklch(56.08% 0.14 127.7)
XYZxyz(12.7241, 18.5969, 3.4093)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8310 #361083
analogous
#837010 #5D8310 #248310
triadic
#5D8310 #105D83 #83105D
tetradic
#5D8310 #108370 #361083 #831024
square
#5D8310 #108370 #361083 #831024
split-complementary
#5D8310 #102483 #701083
monochromatic
#131B03 #364C09 #5D8310 #84BA17 #A7E529

Accessibility & contrast

On white

4.45
#5D8310 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5D8310 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8310
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8310#FFFFFF#000000##000000
##5D83101.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#85771F
Tritanopia (blue-blind)
#617D6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5d8310;
/* rgb */ color: rgb(93, 131, 16);
/* oklch */ color: oklch(56.1% 0.140 127.7);
Tailwind
colors: {
  custom: {
    50: '#8fa75c',
    500: '#5d8310',
    950: '#000000',
  },
}
SCSS
$custom: #5d8310;
$custom-light: #8fa75c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8310",
  "rgb": {
    "r": 93,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 79.826,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56083,
    "c": 0.14018,
    "h": 127.7
  },
  "luminance": 0.18597
}

Semantic roles & 50–950 ramp

primary
#5D8310
secondary
#6136B9
accent
#33F573
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D8310

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

Preview Lab → · Contrast checker → · Palette generator →

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