#5D7115#5D7115

#5D7115 is a mid, moderate yellow-green. Relative luminance 0.142; OKLCH L 51.5% C 0.115 H 121.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5D7115
RGBrgb(93, 113, 21)
HSLhsl(73, 69%, 26%)
HSVhsv(73, 81%, 44%)
CMYKcmyk(17.7%, 0%, 81.4%, 55.7%)
CIE-LABlab(44.51, -20.47, 44.65)
CIE-LCHlch(44.51, 49.12, 114.63°)
OKLaboklab(51.46% -0.0605 0.098)
OKLCHoklch(51.46% 0.115 121.7)
XYZxyz(10.5549, 14.1915, 2.8925)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7115 #291571
analogous
#715715 #5D7115 #2F7115
triadic
#5D7115 #155D71 #71155D
tetradic
#5D7115 #157157 #291571 #71152F
square
#5D7115 #157157 #291571 #71152F
split-complementary
#5D7115 #152F71 #571571
monochromatic
#151A05 #333D0B #5D7115 #87A51F #B1D729

Accessibility & contrast

On white

5.47
#5D7115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5D7115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7115
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7115#FFFFFF#000000##FFFFFF
##5D71151.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#76691E
Tritanopia (blue-blind)
#626B60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5d7115;
/* rgb */ color: rgb(93, 113, 21);
/* oklch */ color: oklch(51.5% 0.115 121.7);
Tailwind
colors: {
  custom: {
    50: '#8e995b',
    500: '#5d7115',
    950: '#000000',
  },
}
SCSS
$custom: #5d7115;
$custom-light: #8e995b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7115",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 73.043,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51464,
    "c": 0.11519,
    "h": 121.7
  },
  "luminance": 0.14192
}

Semantic roles & 50–950 ramp

primary
#5D7115
secondary
#523BA7
accent
#3CEB62
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5D7115

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

Preview Lab → · Contrast checker → · Palette generator →

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