#5D7519#5D7519

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

Color values

HEX#5D7519
RGBrgb(93, 117, 25)
HSLhsl(76, 65%, 28%)
HSVhsv(76, 79%, 46%)
CMYKcmyk(20.5%, 0%, 78.6%, 54.1%)
CIE-LABlab(45.80, -22.33, 44.47)
CIE-LCHlch(45.80, 49.76, 116.66°)
OKLaboklab(52.52% -0.0652 0.0984)
OKLCHoklch(52.52% 0.118 123.6)
XYZxyz(11.0511, 15.1198, 3.2557)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7519 #311975
analogous
#755F19 #5D7519 #2F7519
triadic
#5D7519 #195D75 #75195D
tetradic
#5D7519 #19755F #311975 #75192F
square
#5D7519 #19755F #311975 #75192F
split-complementary
#5D7519 #192F75 #5F1975
monochromatic
#141905 #35430E #5D7519 #85A724 #AAD435

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D7519#FFFFFF#000000##FFFFFF
##5D75191.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)
#7C6D04
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#626F64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d7519;
/* rgb */ color: rgb(93, 117, 25);
/* oklch */ color: oklch(52.5% 0.118 123.6);
Tailwind
colors: {
  custom: {
    50: '#8e9c5e',
    500: '#5d7519',
    950: '#000000',
  },
}
SCSS
$custom: #5d7519;
$custom-light: #8e9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7519",
  "rgb": {
    "r": 93,
    "g": 117,
    "b": 25
  },
  "hsl": {
    "h": 75.652,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52515,
    "c": 0.11805,
    "h": 123.6
  },
  "luminance": 0.1512
}

Semantic roles & 50–950 ramp

primary
#5D7519
secondary
#5C40AA
accent
#40E86C
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5D7519

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

Preview Lab → · Contrast checker → · Palette generator →

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