#5D7520#5D7520

#5D7520 is a mid, moderate yellow-green. Relative luminance 0.152; OKLCH L 52.6% C 0.113 H 124.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5D7520
RGBrgb(93, 117, 32)
HSLhsl(77, 57%, 29%)
HSVhsv(77, 73%, 46%)
CMYKcmyk(20.5%, 0%, 72.6%, 54.1%)
CIE-LABlab(45.84, -21.91, 41.82)
CIE-LCHlch(45.84, 47.21, 117.65°)
OKLaboklab(52.57% -0.0634 0.094)
OKLCHoklch(52.57% 0.113 124)
XYZxyz(11.1363, 15.1539, 3.7045)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7520 #382075
analogous
#756320 #5D7520 #337520
triadic
#5D7520 #205D75 #75205D
tetradic
#5D7520 #207563 #382075 #752033
square
#5D7520 #207563 #382075 #752033
split-complementary
#5D7520 #203375 #632075
monochromatic
#131807 #374513 #5D7520 #83A52D #A5CC44

Accessibility & contrast

On white

5.21
#5D7520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5D7520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7520
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7520#FFFFFF#000000##FFFFFF
##5D75201.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D12
Deuteranopia (green-blind)
#796C27
Tritanopia (blue-blind)
#626F64
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d7520;
/* rgb */ color: rgb(93, 117, 32);
/* oklch */ color: oklch(52.6% 0.113 124.0);
Tailwind
colors: {
  custom: {
    50: '#8e9c61',
    500: '#5d7520',
    950: '#000000',
  },
}
SCSS
$custom: #5d7520;
$custom-light: #8e9c61;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7520",
  "rgb": {
    "r": 93,
    "g": 117,
    "b": 32
  },
  "hsl": {
    "h": 76.941,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52567,
    "c": 0.11342,
    "h": 124
  },
  "luminance": 0.15154
}

Semantic roles & 50–950 ramp

primary
#5D7520
secondary
#6348A8
accent
#47E073
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5D7520

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

Preview Lab → · Contrast checker → · Palette generator →

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