#5D8622#5D8622

#5D8622 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.0% C 0.135 H 129.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5D8622
RGBrgb(93, 134, 34)
HSLhsl(85, 60%, 33%)
HSVhsv(85, 75%, 53%)
CMYKcmyk(30.6%, 0%, 74.6%, 47.5%)
CIE-LABlab(51.26, -30.14, 46.44)
CIE-LCHlch(51.26, 55.37, 122.99°)
OKLaboklab(56.96% -0.0858 0.104)
OKLCHoklch(56.96% 0.135 129.5)
XYZxyz(13.3280, 19.4925, 4.5733)
Luminance0.1949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8622 #4B2286
analogous
#867D22 #5D8622 #2B8622
triadic
#5D8622 #225D86 #86225D
tetradic
#5D8622 #22867D #4B2286 #86222B
square
#5D8622 #22867D #4B2286 #86222B
split-complementary
#5D8622 #222B86 #7D2286
monochromatic
#192409 #3B5516 #5D8622 #7FB72E #9DD350

Accessibility & contrast

On white

4.29
#5D8622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5D8622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8622
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8622#FFFFFF#000000##000000
##5D86221.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0F
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#608073
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5d8622;
/* rgb */ color: rgb(93, 134, 34);
/* oklch */ color: oklch(57.0% 0.135 129.5);
Tailwind
colors: {
  custom: {
    50: '#8fa964',
    500: '#5d8622',
    950: '#000000',
  },
}
SCSS
$custom: #5d8622;
$custom-light: #8fa964;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8622",
  "rgb": {
    "r": 93,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 84.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56963,
    "c": 0.13486,
    "h": 129.5
  },
  "luminance": 0.19493
}

Semantic roles & 50–950 ramp

primary
#5D8622
secondary
#794EB6
accent
#45E386
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8622

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

Preview Lab → · Contrast checker → · Palette generator →

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