#5D8422#5D8422

#5D8422 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.4% C 0.132 H 129.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5D8422
RGBrgb(93, 132, 34)
HSLhsl(84, 59%, 33%)
HSVhsv(84, 74%, 52%)
CMYKcmyk(29.5%, 0%, 74.2%, 48.2%)
CIE-LABlab(50.62, -29.19, 45.81)
CIE-LCHlch(50.62, 54.32, 122.51°)
OKLaboklab(56.45% -0.0832 0.1027)
OKLCHoklch(56.45% 0.132 129)
XYZxyz(13.0542, 18.9448, 4.4820)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8422 #492284
analogous
#847A22 #5D8422 #2C8422
triadic
#5D8422 #225D84 #84225D
tetradic
#5D8422 #22847A #492284 #84222C
square
#5D8422 #22847A #492284 #84222C
split-complementary
#5D8422 #222C84 #7A2284
monochromatic
#182309 #3B5315 #5D8422 #7FB52F #9ED24F

Accessibility & contrast

On white

4.39
#5D8422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#5D8422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8422
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8422#FFFFFF#000000##000000
##5D84221.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A10
Deuteranopia (green-blind)
#85782B
Tritanopia (blue-blind)
#607E71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5d8422;
/* rgb */ color: rgb(93, 132, 34);
/* oklch */ color: oklch(56.4% 0.132 129.0);
Tailwind
colors: {
  custom: {
    50: '#8ea864',
    500: '#5d8422',
    950: '#000000',
  },
}
SCSS
$custom: #5d8422;
$custom-light: #8ea864;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8422",
  "rgb": {
    "r": 93,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 83.878,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56446,
    "c": 0.1322,
    "h": 129
  },
  "luminance": 0.18945
}

Semantic roles & 50–950 ramp

primary
#5D8422
secondary
#764DB5
accent
#46E284
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5D8422

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

Preview Lab → · Contrast checker → · Palette generator →

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