#5D8416#5D8416

#5D8416 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#5D8416
RGBrgb(93, 132, 22)
HSLhsl(81, 71%, 30%)
HSVhsv(81, 83%, 52%)
CMYKcmyk(29.5%, 0%, 83.3%, 48.2%)
CIE-LABlab(50.56, -29.85, 49.83)
CIE-LCHlch(50.56, 58.09, 120.93°)
OKLaboklab(56.37% -0.0859 0.1092)
OKLCHoklch(56.37% 0.139 128.2)
XYZxyz(12.9103, 18.8873, 3.7243)
Luminance0.1889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8416 #3D1684
analogous
#847416 #5D8416 #268416
triadic
#5D8416 #165D84 #84165D
tetradic
#5D8416 #168474 #3D1684 #841626
square
#5D8416 #168474 #3D1684 #841626
split-complementary
#5D8416 #162684 #741684
monochromatic
#131B05 #38500D #5D8416 #82B81F #A2DE37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8416#FFFFFF#000000##000000
##5D84161.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: #5d8416;
/* rgb */ color: rgb(93, 132, 22);
/* oklch */ color: oklch(56.4% 0.139 128.2);
Tailwind
colors: {
  custom: {
    50: '#8fa85f',
    500: '#5d8416',
    950: '#000000',
  },
}
SCSS
$custom: #5d8416;
$custom-light: #8fa85f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8416",
  "rgb": {
    "r": 93,
    "g": 132,
    "b": 22
  },
  "hsl": {
    "h": 81.273,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56369,
    "c": 0.13893,
    "h": 128.2
  },
  "luminance": 0.18888
}

Semantic roles & 50–950 ramp

primary
#5D8416
secondary
#693DB8
accent
#3AEE7A
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D8416

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

Preview Lab → · Contrast checker → · Palette generator →

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