#5D8322#5D8322

#5D8322 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.2% C 0.131 H 128.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5D8322
RGBrgb(93, 131, 34)
HSLhsl(84, 59%, 32%)
HSVhsv(84, 74%, 51%)
CMYKcmyk(29%, 0%, 74%, 48.6%)
CIE-LABlab(50.30, -28.72, 45.49)
CIE-LCHlch(50.30, 53.80, 122.26°)
OKLaboklab(56.19% -0.0819 0.1021)
OKLCHoklch(56.19% 0.131 128.8)
XYZxyz(12.9192, 18.6749, 4.4370)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8322 #482283
analogous
#837922 #5D8322 #2D8322
triadic
#5D8322 #225D83 #83225D
tetradic
#5D8322 #228379 #482283 #83222D
square
#5D8322 #228379 #482283 #83222D
split-complementary
#5D8322 #222D83 #792283
monochromatic
#182209 #3B5215 #5D8322 #7FB42F #9ED14E

Accessibility & contrast

On white

4.44
#5D8322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5D8322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8322
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8322#FFFFFF#000000##000000
##5D83221.004.444.744.74
#FFFFFF4.441.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7911
Deuteranopia (green-blind)
#84772B
Tritanopia (blue-blind)
#607D70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5d8322;
/* rgb */ color: rgb(93, 131, 34);
/* oklch */ color: oklch(56.2% 0.131 128.8);
Tailwind
colors: {
  custom: {
    50: '#8ea764',
    500: '#5d8322',
    950: '#000000',
  },
}
SCSS
$custom: #5d8322;
$custom-light: #8ea764;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8322",
  "rgb": {
    "r": 93,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 83.505,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56187,
    "c": 0.13086,
    "h": 128.8
  },
  "luminance": 0.18675
}

Semantic roles & 50–950 ramp

primary
#5D8322
secondary
#754CB4
accent
#46E283
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5D8322

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

Preview Lab → · Contrast checker → · Palette generator →

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