#5D7916#5D7916

#5D7916 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.5% C 0.125 H 124.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5D7916
RGBrgb(93, 121, 22)
HSLhsl(77, 69%, 28%)
HSVhsv(77, 82%, 47%)
CMYKcmyk(23.1%, 0%, 81.8%, 52.5%)
CIE-LABlab(47.05, -24.50, 46.65)
CIE-LCHlch(47.05, 52.70, 117.71°)
OKLaboklab(53.53% -0.0714 0.1025)
OKLCHoklch(53.53% 0.125 124.9)
XYZxyz(11.4965, 16.0597, 3.2531)
Luminance0.1606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7916 #321679
analogous
#796316 #5D7916 #2B7916
triadic
#5D7916 #165D79 #79165D
tetradic
#5D7916 #167963 #321679 #79162B
square
#5D7916 #167963 #321679 #79162B
split-complementary
#5D7916 #162B79 #631679
monochromatic
#141A05 #35450D #5D7916 #85AD1F #A9D930

Accessibility & contrast

On white

4.99
#5D7916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#5D7916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7916
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7916#FFFFFF#000000##FFFFFF
##5D79161.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#627367
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d7916;
/* rgb */ color: rgb(93, 121, 22);
/* oklch */ color: oklch(53.5% 0.125 124.9);
Tailwind
colors: {
  custom: {
    50: '#8e9f5d',
    500: '#5d7916',
    950: '#000000',
  },
}
SCSS
$custom: #5d7916;
$custom-light: #8e9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7916",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 76.97,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53525,
    "c": 0.12489,
    "h": 124.9
  },
  "luminance": 0.1606
}

Semantic roles & 50–950 ramp

primary
#5D7916
secondary
#5D3DAE
accent
#3CEC6E
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5D7916

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

Preview Lab → · Contrast checker → · Palette generator →

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