#5D7315#5D7315

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

Color values

HEX#5D7315
RGBrgb(93, 115, 21)
HSLhsl(74, 69%, 27%)
HSVhsv(74, 82%, 45%)
CMYKcmyk(19.1%, 0%, 81.7%, 54.9%)
CIE-LABlab(45.14, -21.51, 45.23)
CIE-LCHlch(45.14, 50.08, 115.43°)
OKLaboklab(51.98% -0.0633 0.0993)
OKLCHoklch(51.98% 0.118 122.5)
XYZxyz(10.7805, 14.6427, 2.9677)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7315 #2B1573
analogous
#735A15 #5D7315 #2E7315
triadic
#5D7315 #155D73 #73155D
tetradic
#5D7315 #15735A #2B1573 #73152E
square
#5D7315 #15735A #2B1573 #73152E
split-complementary
#5D7315 #152E73 #5A1573
monochromatic
#151A05 #333F0C #5D7315 #87A71E #AFD82A

Accessibility & contrast

On white

5.35
#5D7315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D7315
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7315#FFFFFF#000000##FFFFFF
##5D73151.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d7315;
/* rgb */ color: rgb(93, 115, 21);
/* oklch */ color: oklch(52.0% 0.118 122.5);
Tailwind
colors: {
  custom: {
    50: '#8e9b5c',
    500: '#5d7315',
    950: '#000000',
  },
}
SCSS
$custom: #5d7315;
$custom-light: #8e9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7315",
  "rgb": {
    "r": 93,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 74.043,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51977,
    "c": 0.11773,
    "h": 122.5
  },
  "luminance": 0.14643
}

Semantic roles & 50–950 ramp

primary
#5D7315
secondary
#553BA9
accent
#3CEC65
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5D7315

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

Preview Lab → · Contrast checker → · Palette generator →

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