#5D7620#5D7620

#5D7620 is a mid, moderate yellow-green. Relative luminance 0.154; OKLCH L 52.8% C 0.115 H 124.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5D7620
RGBrgb(93, 118, 32)
HSLhsl(77, 57%, 29%)
HSVhsv(77, 73%, 46%)
CMYKcmyk(21.2%, 0%, 72.9%, 53.7%)
CIE-LABlab(46.16, -22.42, 42.14)
CIE-LCHlch(46.16, 47.73, 118.01°)
OKLaboklab(52.82% -0.0648 0.0947)
OKLCHoklch(52.82% 0.115 124.4)
XYZxyz(11.2534, 15.3882, 3.7436)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7620 #392076
analogous
#766420 #5D7620 #327620
triadic
#5D7620 #205D76 #76205D
tetradic
#5D7620 #207664 #392076 #762032
square
#5D7620 #207664 #392076 #762032
split-complementary
#5D7620 #203276 #642076
monochromatic
#131807 #374613 #5D7620 #83A62D #A5CC44

Accessibility & contrast

On white

5.15
#5D7620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#5D7620 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7620
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7620#FFFFFF#000000##FFFFFF
##5D76201.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E12
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#627065
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d7620;
/* rgb */ color: rgb(93, 118, 32);
/* oklch */ color: oklch(52.8% 0.115 124.4);
Tailwind
colors: {
  custom: {
    50: '#8e9d61',
    500: '#5d7620',
    950: '#000000',
  },
}
SCSS
$custom: #5d7620;
$custom-light: #8e9d61;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7620",
  "rgb": {
    "r": 93,
    "g": 118,
    "b": 32
  },
  "hsl": {
    "h": 77.442,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52824,
    "c": 0.11478,
    "h": 124.4
  },
  "luminance": 0.15388
}

Semantic roles & 50–950 ramp

primary
#5D7620
secondary
#6548A9
accent
#47E174
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5D7620

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

Preview Lab → · Contrast checker → · Palette generator →

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