#5D7319#5D7319

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

Color values

HEX#5D7319
RGBrgb(93, 115, 25)
HSLhsl(75, 64%, 27%)
HSVhsv(75, 78%, 45%)
CMYKcmyk(19.1%, 0%, 78.3%, 54.9%)
CIE-LABlab(45.16, -21.31, 43.87)
CIE-LCHlch(45.16, 48.77, 115.90°)
OKLaboklab(52% -0.0624 0.0971)
OKLCHoklch(52% 0.115 122.7)
XYZxyz(10.8205, 14.6588, 3.1789)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7319 #2F1973
analogous
#735C19 #5D7319 #307319
triadic
#5D7319 #195D73 #73195D
tetradic
#5D7319 #19735C #2F1973 #731930
square
#5D7319 #19735C #2F1973 #731930
split-complementary
#5D7319 #193073 #5C1973
monochromatic
#141905 #34410E #5D7319 #86A524 #ACD334

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D7319#FFFFFF#000000##FFFFFF
##5D73191.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)
#7A6B05
Deuteranopia (green-blind)
#776B21
Tritanopia (blue-blind)
#626D62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d7319;
/* rgb */ color: rgb(93, 115, 25);
/* oklch */ color: oklch(52.0% 0.115 122.7);
Tailwind
colors: {
  custom: {
    50: '#8e9b5d',
    500: '#5d7319',
    950: '#000000',
  },
}
SCSS
$custom: #5d7319;
$custom-light: #8e9b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7319",
  "rgb": {
    "r": 93,
    "g": 115,
    "b": 25
  },
  "hsl": {
    "h": 74.667,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52002,
    "c": 0.11545,
    "h": 122.7
  },
  "luminance": 0.14659
}

Semantic roles & 50–950 ramp

primary
#5D7319
secondary
#5940A8
accent
#41E769
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5D7319

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

Preview Lab → · Contrast checker → · Palette generator →

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