#5D7015#5D7015

#5D7015 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.2% C 0.114 H 121.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5D7015
RGBrgb(93, 112, 21)
HSLhsl(73, 68%, 26%)
HSVhsv(73, 81%, 44%)
CMYKcmyk(17%, 0%, 81.2%, 56.1%)
CIE-LABlab(44.19, -19.95, 44.35)
CIE-LCHlch(44.19, 48.63, 114.22°)
OKLaboklab(51.21% -0.0591 0.0974)
OKLCHoklch(51.21% 0.114 121.2)
XYZxyz(10.4439, 13.9696, 2.8555)
Luminance0.1397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7015 #281570
analogous
#705515 #5D7015 #2F7015
triadic
#5D7015 #155D70 #70155D
tetradic
#5D7015 #157055 #281570 #70152F
square
#5D7015 #157055 #281570 #70152F
split-complementary
#5D7015 #152F70 #551570
monochromatic
#151A05 #323C0B #5D7015 #88A41F #B2D729

Accessibility & contrast

On white

5.54
#5D7015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5D7015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7015
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7015#FFFFFF#000000##FFFFFF
##5D70151.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#75691E
Tritanopia (blue-blind)
#636A5F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d7015;
/* rgb */ color: rgb(93, 112, 21);
/* oklch */ color: oklch(51.2% 0.114 121.2);
Tailwind
colors: {
  custom: {
    50: '#8e995b',
    500: '#5d7015',
    950: '#000000',
  },
}
SCSS
$custom: #5d7015;
$custom-light: #8e995b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7015",
  "rgb": {
    "r": 93,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 72.527,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51208,
    "c": 0.11392,
    "h": 121.2
  },
  "luminance": 0.1397
}

Semantic roles & 50–950 ramp

primary
#5D7015
secondary
#513BA6
accent
#3DEB61
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5D7015

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

Preview Lab → · Contrast checker → · Palette generator →

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