#5D8022#5D8022

#5D8022 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.4% C 0.127 H 127.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5D8022
RGBrgb(93, 128, 34)
HSLhsl(82, 58%, 32%)
HSVhsv(82, 73%, 50%)
CMYKcmyk(27.3%, 0%, 73.4%, 49.8%)
CIE-LABlab(49.35, -27.27, 44.54)
CIE-LCHlch(49.35, 52.22, 121.47°)
OKLaboklab(55.41% -0.078 0.1001)
OKLCHoklch(55.41% 0.127 127.9)
XYZxyz(12.5221, 17.8807, 4.3047)
Luminance0.1788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8022 #452280
analogous
#807422 #5D8022 #2E8022
triadic
#5D8022 #225D80 #80225D
tetradic
#5D8022 #228074 #452280 #80222E
square
#5D8022 #228074 #452280 #80222E
split-complementary
#5D8022 #222E80 #742280
monochromatic
#171F08 #3A5015 #5D8022 #80B02F #9FD04D

Accessibility & contrast

On white

4.59
#5D8022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5D8022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5D8022
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8022#FFFFFF#000000##FFFFFF
##5D80221.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877712
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#607A6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5d8022;
/* rgb */ color: rgb(93, 128, 34);
/* oklch */ color: oklch(55.4% 0.127 127.9);
Tailwind
colors: {
  custom: {
    50: '#8ea564',
    500: '#5d8022',
    950: '#000000',
  },
}
SCSS
$custom: #5d8022;
$custom-light: #8ea564;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8022",
  "rgb": {
    "r": 93,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 82.34,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55413,
    "c": 0.12685,
    "h": 127.9
  },
  "luminance": 0.17881
}

Semantic roles & 50–950 ramp

primary
#5D8022
secondary
#724BB2
accent
#47E180
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D0F06
muted
#7D7F7A

Preview Lab

Preview with #5D8022

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

Preview Lab → · Contrast checker → · Palette generator →

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