#5D7927#5D7927

#5D7927 is a mid, moderate yellow-green. Relative luminance 0.161; OKLCH L 53.7% C 0.114 H 126.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5D7927
RGBrgb(93, 121, 39)
HSLhsl(80, 51%, 31%)
HSVhsv(80, 68%, 47%)
CMYKcmyk(23.1%, 0%, 67.8%, 52.5%)
CIE-LABlab(47.17, -23.43, 40.18)
CIE-LCHlch(47.17, 46.51, 120.24°)
OKLaboklab(53.66% -0.0669 0.0917)
OKLCHoklch(53.66% 0.114 126.1)
XYZxyz(11.7178, 16.1482, 4.4186)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7927 #432779
analogous
#796C27 #5D7927 #347927
triadic
#5D7927 #275D79 #79275D
tetradic
#5D7927 #27796C #432779 #792734
square
#5D7927 #27796C #432779 #792734
split-complementary
#5D7927 #273479 #6C2779
monochromatic
#161C09 #394B18 #5D7927 #81A736 #A0C853

Accessibility & contrast

On white

4.97
#5D7927 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D7927
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7927#FFFFFF#000000##FFFFFF
##5D79271.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d7927;
/* rgb */ color: rgb(93, 121, 39);
/* oklch */ color: oklch(53.7% 0.114 126.1);
Tailwind
colors: {
  custom: {
    50: '#8d9f66',
    500: '#5d7927',
    950: '#000000',
  },
}
SCSS
$custom: #5d7927;
$custom-light: #8d9f66;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7927",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 39
  },
  "hsl": {
    "h": 80.488,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53656,
    "c": 0.11352,
    "h": 126.1
  },
  "luminance": 0.16148
}

Semantic roles & 50–950 ramp

primary
#5D7927
secondary
#7051AB
accent
#4DDB7D
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5D7927

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

Preview Lab → · Contrast checker → · Palette generator →

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