#5D8522#5D8522

#5D8522 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.7% C 0.134 H 129.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5D8522
RGBrgb(93, 133, 34)
HSLhsl(84, 59%, 33%)
HSVhsv(84, 74%, 52%)
CMYKcmyk(30.1%, 0%, 74.4%, 47.8%)
CIE-LABlab(50.94, -29.67, 46.13)
CIE-LCHlch(50.94, 54.84, 122.75°)
OKLaboklab(56.7% -0.0845 0.1034)
OKLCHoklch(56.7% 0.134 129.3)
XYZxyz(13.1904, 19.2173, 4.5274)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8522 #4A2285
analogous
#857B22 #5D8522 #2C8522
triadic
#5D8522 #225D85 #85225D
tetradic
#5D8522 #22857B #4A2285 #85222C
square
#5D8522 #22857B #4A2285 #85222C
split-complementary
#5D8522 #222C85 #7B2285
monochromatic
#192409 #3B5416 #5D8522 #7FB62E #9DD24F

Accessibility & contrast

On white

4.34
#5D8522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5D8522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8522
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8522#FFFFFF#000000##000000
##5D85221.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B10
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#607F72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5d8522;
/* rgb */ color: rgb(93, 133, 34);
/* oklch */ color: oklch(56.7% 0.134 129.3);
Tailwind
colors: {
  custom: {
    50: '#8ea864',
    500: '#5d8522',
    950: '#000000',
  },
}
SCSS
$custom: #5d8522;
$custom-light: #8ea864;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8522",
  "rgb": {
    "r": 93,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 84.242,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56704,
    "c": 0.13353,
    "h": 129.3
  },
  "luminance": 0.19218
}

Semantic roles & 50–950 ramp

primary
#5D8522
secondary
#774DB6
accent
#45E285
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5D8522

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

Preview Lab → · Contrast checker → · Palette generator →

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