#5D8722#5D8722

#5D8722 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.2% C 0.136 H 129.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5D8722
RGBrgb(93, 135, 34)
HSLhsl(85, 60%, 33%)
HSVhsv(85, 75%, 53%)
CMYKcmyk(31.1%, 0%, 74.8%, 47.1%)
CIE-LABlab(51.58, -30.61, 46.76)
CIE-LCHlch(51.58, 55.89, 123.22°)
OKLaboklab(57.22% -0.0871 0.1047)
OKLCHoklch(57.22% 0.136 129.8)
XYZxyz(13.4668, 19.7702, 4.6196)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8722 #4C2287
analogous
#877E22 #5D8722 #2B8722
triadic
#5D8722 #225D87 #87225D
tetradic
#5D8722 #22877E #4C2287 #87222B
square
#5D8722 #22877E #4C2287 #87222B
split-complementary
#5D8722 #222B87 #7E2287
monochromatic
#1A2509 #3B5616 #5D8722 #7FB82E #9DD350

Accessibility & contrast

On white

4.24
#5D8722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5D8722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8722
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8722#FFFFFF#000000##000000
##5D87221.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0F
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#608173
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5d8722;
/* rgb */ color: rgb(93, 135, 34);
/* oklch */ color: oklch(57.2% 0.136 129.8);
Tailwind
colors: {
  custom: {
    50: '#8faa64',
    500: '#5d8722',
    950: '#000000',
  },
}
SCSS
$custom: #5d8722;
$custom-light: #8faa64;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8722",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 84.95,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57221,
    "c": 0.13619,
    "h": 129.8
  },
  "luminance": 0.19771
}

Semantic roles & 50–950 ramp

primary
#5D8722
secondary
#7A4EB7
accent
#45E387
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8722

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

Preview Lab → · Contrast checker → · Palette generator →

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