#5D7516#5D7516

#5D7516 is a mid, moderate yellow-green. Relative luminance 0.151; OKLCH L 52.5% C 0.120 H 123.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5D7516
RGBrgb(93, 117, 22)
HSLhsl(75, 68%, 27%)
HSVhsv(75, 81%, 46%)
CMYKcmyk(20.5%, 0%, 81.2%, 54.1%)
CIE-LABlab(45.78, -22.48, 45.49)
CIE-LCHlch(45.78, 50.74, 116.30°)
OKLaboklab(52.5% -0.0659 0.1)
OKLCHoklch(52.5% 0.12 123.4)
XYZxyz(11.0205, 15.1076, 3.0944)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7516 #2E1675
analogous
#755E16 #5D7516 #2E7516
triadic
#5D7516 #165D75 #75165D
tetradic
#5D7516 #16755E #2E1675 #75162E
square
#5D7516 #16755E #2E1675 #75162E
split-complementary
#5D7516 #162E75 #5E1675
monochromatic
#141A05 #34410C #5D7516 #86A920 #ADD82E

Accessibility & contrast

On white

5.22
#5D7516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5D7516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7516
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7516#FFFFFF#000000##FFFFFF
##5D75161.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#626F63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d7516;
/* rgb */ color: rgb(93, 117, 22);
/* oklch */ color: oklch(52.5% 0.120 123.4);
Tailwind
colors: {
  custom: {
    50: '#8e9c5c',
    500: '#5d7516',
    950: '#000000',
  },
}
SCSS
$custom: #5d7516;
$custom-light: #8e9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7516",
  "rgb": {
    "r": 93,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 75.158,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.52496,
    "c": 0.11976,
    "h": 123.4
  },
  "luminance": 0.15108
}

Semantic roles & 50–950 ramp

primary
#5D7516
secondary
#583CAB
accent
#3DEB69
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5D7516

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

Preview Lab → · Contrast checker → · Palette generator →

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