#5D7316#5D7316

#5D7316 is a mid, moderate yellow-green. Relative luminance 0.146; OKLCH L 52.0% C 0.117 H 122.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5D7316
RGBrgb(93, 115, 22)
HSLhsl(74, 68%, 27%)
HSVhsv(74, 81%, 45%)
CMYKcmyk(19.1%, 0%, 80.9%, 54.9%)
CIE-LABlab(45.15, -21.46, 44.90)
CIE-LCHlch(45.15, 49.77, 115.55°)
OKLaboklab(51.98% -0.0631 0.0988)
OKLCHoklch(51.98% 0.117 122.6)
XYZxyz(10.7899, 14.6465, 3.0175)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7316 #2C1673
analogous
#735B16 #5D7316 #2E7316
triadic
#5D7316 #165D73 #73165D
tetradic
#5D7316 #16735B #2C1673 #73162E
square
#5D7316 #16735B #2C1673 #73162E
split-complementary
#5D7316 #162E73 #5B1673
monochromatic
#151A05 #33400C #5D7316 #87A620 #AFD72D

Accessibility & contrast

On white

5.34
#5D7316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5D7316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7316
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7316#FFFFFF#000000##FFFFFF
##5D73161.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#776B1F
Tritanopia (blue-blind)
#626D62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d7316;
/* rgb */ color: rgb(93, 115, 22);
/* oklch */ color: oklch(52.0% 0.117 122.6);
Tailwind
colors: {
  custom: {
    50: '#8e9b5c',
    500: '#5d7316',
    950: '#000000',
  },
}
SCSS
$custom: #5d7316;
$custom-light: #8e9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7316",
  "rgb": {
    "r": 93,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 74.194,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51983,
    "c": 0.1172,
    "h": 122.6
  },
  "luminance": 0.14647
}

Semantic roles & 50–950 ramp

primary
#5D7316
secondary
#563CA9
accent
#3DEB66
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5D7316

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

Preview Lab → · Contrast checker → · Palette generator →

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