#5D7416#5D7416

#5D7416 is a mid, moderate yellow-green. Relative luminance 0.149; OKLCH L 52.2% C 0.118 H 123.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5D7416
RGBrgb(93, 116, 22)
HSLhsl(75, 68%, 27%)
HSVhsv(75, 81%, 45%)
CMYKcmyk(19.8%, 0%, 81%, 54.5%)
CIE-LABlab(45.46, -21.97, 45.19)
CIE-LCHlch(45.46, 50.25, 115.93°)
OKLaboklab(52.24% -0.0645 0.0994)
OKLCHoklch(52.24% 0.118 123)
XYZxyz(10.9046, 14.8758, 3.0557)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7416 #2D1674
analogous
#745C16 #5D7416 #2E7416
triadic
#5D7416 #165D74 #74165D
tetradic
#5D7416 #16745C #2D1674 #74162E
square
#5D7416 #16745C #2D1674 #74162E
split-complementary
#5D7416 #162E74 #5C1674
monochromatic
#151A05 #34410C #5D7416 #86A720 #AED72D

Accessibility & contrast

On white

5.28
#5D7416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5D7416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7416
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7416#FFFFFF#000000##FFFFFF
##5D74161.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#786C1F
Tritanopia (blue-blind)
#626E63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d7416;
/* rgb */ color: rgb(93, 116, 22);
/* oklch */ color: oklch(52.2% 0.118 123.0);
Tailwind
colors: {
  custom: {
    50: '#8e9c5c',
    500: '#5d7416',
    950: '#000000',
  },
}
SCSS
$custom: #5d7416;
$custom-light: #8e9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7416",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 74.681,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.52239,
    "c": 0.11848,
    "h": 123
  },
  "luminance": 0.14876
}

Semantic roles & 50–950 ramp

primary
#5D7416
secondary
#573CAA
accent
#3DEB67
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5D7416

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

Preview Lab → · Contrast checker → · Palette generator →

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