#5D8B22#5D8B22

#5D8B22 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.3% C 0.141 H 130.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5D8B22
RGBrgb(93, 139, 34)
HSLhsl(86, 61%, 34%)
HSVhsv(86, 76%, 55%)
CMYKcmyk(33.1%, 0%, 75.5%, 45.5%)
CIE-LABlab(52.85, -32.48, 48.01)
CIE-LCHlch(52.85, 57.96, 124.08°)
OKLaboklab(58.26% -0.0922 0.1073)
OKLCHoklch(58.26% 0.141 130.7)
XYZxyz(14.0355, 20.9074, 4.8091)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8B22 #50228B
analogous
#8B8522 #5D8B22 #288B22
triadic
#5D8B22 #225D8B #8B225D
tetradic
#5D8B22 #228B85 #50228B #8B2228
square
#5D8B22 #228B85 #50228B #8B2228
split-complementary
#5D8B22 #22288B #85228B
monochromatic
#1B290A #3C5A16 #5D8B22 #7EBC2E #9CD553

Accessibility & contrast

On white

4.05
#5D8B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5D8B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8B22
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8B22#FFFFFF#000000##000000
##5D8B221.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800D
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#5F8577
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d8b22;
/* rgb */ color: rgb(93, 139, 34);
/* oklch */ color: oklch(58.3% 0.141 130.7);
Tailwind
colors: {
  custom: {
    50: '#8fad65',
    500: '#5d8b22',
    950: '#000000',
  },
}
SCSS
$custom: #5d8b22;
$custom-light: #8fad65;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8b22",
  "rgb": {
    "r": 93,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 86.286,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58257,
    "c": 0.14146,
    "h": 130.7
  },
  "luminance": 0.20908
}

Semantic roles & 50–950 ramp

primary
#5D8B22
secondary
#7E50B8
accent
#44E48A
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8B22

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

Preview Lab → · Contrast checker → · Palette generator →

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