#5D7928#5D7928

#5D7928 is a mid, moderate yellow-green. Relative luminance 0.162; OKLCH L 53.7% C 0.113 H 126.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5D7928
RGBrgb(93, 121, 40)
HSLhsl(81, 50%, 32%)
HSVhsv(81, 67%, 47%)
CMYKcmyk(23.1%, 0%, 66.9%, 52.5%)
CIE-LABlab(47.18, -23.35, 39.74)
CIE-LCHlch(47.18, 46.09, 120.43°)
OKLaboklab(53.67% -0.0666 0.0909)
OKLCHoklch(53.67% 0.113 126.2)
XYZxyz(11.7346, 16.1549, 4.5071)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7928 #442879
analogous
#796D28 #5D7928 #357928
triadic
#5D7928 #285D79 #79285D
tetradic
#5D7928 #28796D #442879 #792835
square
#5D7928 #28796D #442879 #792835
split-complementary
#5D7928 #283579 #6D2879
monochromatic
#161D0A #3A4B19 #5D7928 #80A737 #9FC755

Accessibility & contrast

On white

4.96
#5D7928 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5D7928 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7928
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7928#FFFFFF#000000##FFFFFF
##5D79281.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711E
Deuteranopia (green-blind)
#7C6F2E
Tritanopia (blue-blind)
#617368
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d7928;
/* rgb */ color: rgb(93, 121, 40);
/* oklch */ color: oklch(53.7% 0.113 126.2);
Tailwind
colors: {
  custom: {
    50: '#8d9f66',
    500: '#5d7928',
    950: '#000000',
  },
}
SCSS
$custom: #5d7928;
$custom-light: #8d9f66;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7928",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 40
  },
  "hsl": {
    "h": 80.741,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53666,
    "c": 0.1127,
    "h": 126.2
  },
  "luminance": 0.16155
}

Semantic roles & 50–950 ramp

primary
#5D7928
secondary
#7152AB
accent
#4EDA7E
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5D7928

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

Preview Lab → · Contrast checker → · Palette generator →

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