#5D8115#5D8115

#5D8115 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.6% C 0.136 H 127.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5D8115
RGBrgb(93, 129, 21)
HSLhsl(80, 72%, 29%)
HSVhsv(80, 84%, 51%)
CMYKcmyk(27.9%, 0%, 83.7%, 49.4%)
CIE-LABlab(49.59, -28.47, 49.26)
CIE-LCHlch(49.59, 56.89, 120.03°)
OKLaboklab(55.59% -0.0822 0.1078)
OKLCHoklch(55.59% 0.136 127.3)
XYZxyz(12.4999, 18.0815, 3.5408)
Luminance0.1808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8115 #391581
analogous
#816F15 #5D8115 #278115
triadic
#5D8115 #155D81 #81155D
tetradic
#5D8115 #15816F #391581 #811527
square
#5D8115 #15816F #391581 #811527
split-complementary
#5D8115 #152781 #6F1581
monochromatic
#131A04 #374C0C #5D8115 #83B61E #A5DE33

Accessibility & contrast

On white

4.55
#5D8115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#5D8115 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8115
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8115#FFFFFF#000000##000000
##5D81151.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#837521
Tritanopia (blue-blind)
#617B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5d8115;
/* rgb */ color: rgb(93, 129, 21);
/* oklch */ color: oklch(55.6% 0.136 127.3);
Tailwind
colors: {
  custom: {
    50: '#8fa55e',
    500: '#5d8115',
    950: '#000000',
  },
}
SCSS
$custom: #5d8115;
$custom-light: #8fa55e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8115",
  "rgb": {
    "r": 93,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 80,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55587,
    "c": 0.13559,
    "h": 127.3
  },
  "luminance": 0.18082
}

Semantic roles & 50–950 ramp

primary
#5D8115
secondary
#653CB6
accent
#39EF76
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D8115

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

Preview Lab → · Contrast checker → · Palette generator →

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