#5D8415#5D8415

#5D8415 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.4% C 0.139 H 128.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5D8415
RGBrgb(93, 132, 21)
HSLhsl(81, 73%, 30%)
HSVhsv(81, 84%, 52%)
CMYKcmyk(29.5%, 0%, 84.1%, 48.2%)
CIE-LABlab(50.55, -29.90, 50.11)
CIE-LCHlch(50.55, 58.35, 120.82°)
OKLaboklab(56.36% -0.0861 0.1096)
OKLCHoklch(56.36% 0.139 128.2)
XYZxyz(12.9008, 18.8835, 3.6745)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8415 #3C1584
analogous
#847315 #5D8415 #268415
triadic
#5D8415 #155D84 #84155D
tetradic
#5D8415 #158473 #3C1584 #841526
square
#5D8415 #158473 #3C1584 #841526
split-complementary
#5D8415 #152684 #731584
monochromatic
#131A04 #384F0D #5D8415 #82B91D #A3DF35

Accessibility & contrast

On white

4.40
#5D8415 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5D8415 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8415
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8415#FFFFFF#000000##000000
##5D84151.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#867822
Tritanopia (blue-blind)
#617E70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5d8415;
/* rgb */ color: rgb(93, 132, 21);
/* oklch */ color: oklch(56.4% 0.139 128.2);
Tailwind
colors: {
  custom: {
    50: '#8fa85e',
    500: '#5d8415',
    950: '#000000',
  },
}
SCSS
$custom: #5d8415;
$custom-light: #8fa85e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8415",
  "rgb": {
    "r": 93,
    "g": 132,
    "b": 21
  },
  "hsl": {
    "h": 81.081,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.56364,
    "c": 0.13939,
    "h": 128.2
  },
  "luminance": 0.18884
}

Semantic roles & 50–950 ramp

primary
#5D8415
secondary
#683CB9
accent
#39EF79
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D8415

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

Preview Lab → · Contrast checker → · Palette generator →

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