#5D7420#5D7420

#5D7420 is a mid, moderate yellow-green. Relative luminance 0.149; OKLCH L 52.3% C 0.112 H 123.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5D7420
RGBrgb(93, 116, 32)
HSLhsl(76, 57%, 29%)
HSVhsv(76, 72%, 45%)
CMYKcmyk(19.8%, 0%, 72.4%, 54.5%)
CIE-LABlab(45.53, -21.39, 41.50)
CIE-LCHlch(45.53, 46.69, 117.27°)
OKLaboklab(52.31% -0.062 0.0934)
OKLCHoklch(52.31% 0.112 123.6)
XYZxyz(11.0204, 14.9221, 3.6659)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7420 #372074
analogous
#746120 #5D7420 #337420
triadic
#5D7420 #205D74 #74205D
tetradic
#5D7420 #207461 #372074 #742033
square
#5D7420 #207461 #372074 #742033
split-complementary
#5D7420 #203374 #612074
monochromatic
#131807 #374413 #5D7420 #83A42D #A6CB43

Accessibility & contrast

On white

5.27
#5D7420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5D7420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7420
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7420#FFFFFF#000000##FFFFFF
##5D74201.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C13
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#626E63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d7420;
/* rgb */ color: rgb(93, 116, 32);
/* oklch */ color: oklch(52.3% 0.112 123.6);
Tailwind
colors: {
  custom: {
    50: '#8e9c61',
    500: '#5d7420',
    950: '#000000',
  },
}
SCSS
$custom: #5d7420;
$custom-light: #8e9c61;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7420",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 76.429,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52311,
    "c": 0.11208,
    "h": 123.6
  },
  "luminance": 0.14922
}

Semantic roles & 50–950 ramp

primary
#5D7420
secondary
#6248A8
accent
#48E071
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5D7420

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

Preview Lab → · Contrast checker → · Palette generator →

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