#5D7216#5D7216

#5D7216 is a mid, moderate yellow-green. Relative luminance 0.144; OKLCH L 51.7% C 0.116 H 122.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5D7216
RGBrgb(93, 114, 22)
HSLhsl(74, 68%, 27%)
HSVhsv(74, 81%, 45%)
CMYKcmyk(18.4%, 0%, 80.7%, 55.3%)
CIE-LABlab(44.83, -20.94, 44.61)
CIE-LCHlch(44.83, 49.28, 115.15°)
OKLaboklab(51.73% -0.0617 0.0981)
OKLCHoklch(51.73% 0.116 122.2)
XYZxyz(10.6765, 14.4197, 2.9797)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7216 #2B1672
analogous
#725916 #5D7216 #2F7216
triadic
#5D7216 #165D72 #72165D
tetradic
#5D7216 #167259 #2B1672 #72162F
square
#5D7216 #167259 #2B1672 #72162F
split-complementary
#5D7216 #162F72 #591672
monochromatic
#151A05 #333F0C #5D7216 #87A520 #AFD62C

Accessibility & contrast

On white

5.41
#5D7216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5D7216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7216
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7216#FFFFFF#000000##FFFFFF
##5D72161.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B00
Deuteranopia (green-blind)
#776A1F
Tritanopia (blue-blind)
#626C61
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d7216;
/* rgb */ color: rgb(93, 114, 22);
/* oklch */ color: oklch(51.7% 0.116 122.2);
Tailwind
colors: {
  custom: {
    50: '#8e9a5c',
    500: '#5d7216',
    950: '#000000',
  },
}
SCSS
$custom: #5d7216;
$custom-light: #8e9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7216",
  "rgb": {
    "r": 93,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 73.696,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51726,
    "c": 0.11592,
    "h": 122.2
  },
  "luminance": 0.1442
}

Semantic roles & 50–950 ramp

primary
#5D7216
secondary
#553CA8
accent
#3DEB65
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5D7216

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

Preview Lab → · Contrast checker → · Palette generator →

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