#5D7816#5D7816

#5D7816 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.3% C 0.124 H 124.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5D7816
RGBrgb(93, 120, 22)
HSLhsl(77, 69%, 28%)
HSVhsv(77, 82%, 47%)
CMYKcmyk(22.5%, 0%, 81.7%, 52.9%)
CIE-LABlab(46.73, -24.00, 46.36)
CIE-LCHlch(46.73, 52.21, 117.37°)
OKLaboklab(53.27% -0.0701 0.1018)
OKLCHoklch(53.27% 0.124 124.5)
XYZxyz(11.3756, 15.8179, 3.2128)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7816 #311678
analogous
#786216 #5D7816 #2C7816
triadic
#5D7816 #165D78 #78165D
tetradic
#5D7816 #167862 #311678 #78162C
square
#5D7816 #167862 #311678 #78162C
split-complementary
#5D7816 #162C78 #621678
monochromatic
#141A05 #35440D #5D7816 #85AC1F #AAD92F

Accessibility & contrast

On white

5.04
#5D7816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5D7816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7816
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7816#FFFFFF#000000##FFFFFF
##5D78161.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#7C6E20
Tritanopia (blue-blind)
#627266
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d7816;
/* rgb */ color: rgb(93, 120, 22);
/* oklch */ color: oklch(53.3% 0.124 124.5);
Tailwind
colors: {
  custom: {
    50: '#8e9f5d',
    500: '#5d7816',
    950: '#000000',
  },
}
SCSS
$custom: #5d7816;
$custom-light: #8e9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7816",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 76.531,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53268,
    "c": 0.1236,
    "h": 124.5
  },
  "luminance": 0.15818
}

Semantic roles & 50–950 ramp

primary
#5D7816
secondary
#5C3CAD
accent
#3CEC6C
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5D7816

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

Preview Lab → · Contrast checker → · Palette generator →

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