#5D8F22#5D8F22

#5D8F22 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.3% C 0.147 H 131.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5D8F22
RGBrgb(93, 143, 34)
HSLhsl(88, 62%, 35%)
HSVhsv(88, 76%, 56%)
CMYKcmyk(35%, 0%, 76.2%, 43.9%)
CIE-LABlab(54.12, -34.31, 49.25)
CIE-LCHlch(54.12, 60.02, 124.86°)
OKLaboklab(59.29% -0.0971 0.1099)
OKLCHoklch(59.29% 0.147 131.5)
XYZxyz(14.6253, 22.0870, 5.0057)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8F22 #54228F
analogous
#8F8B22 #5D8F22 #268F22
triadic
#5D8F22 #225D8F #8F225D
tetradic
#5D8F22 #228F8B #54228F #8F2226
square
#5D8F22 #228F8B #54228F #8F2226
split-complementary
#5D8F22 #22268F #8B228F
monochromatic
#1D2C0A #3D5E16 #5D8F22 #7DC02E #9BD755

Accessibility & contrast

On white

3.88
#5D8F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#5D8F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8F22
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8F22#FFFFFF#000000##000000
##5D8F221.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840A
Deuteranopia (green-blind)
#8F802D
Tritanopia (blue-blind)
#5F897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d8f22;
/* rgb */ color: rgb(93, 143, 34);
/* oklch */ color: oklch(59.3% 0.147 131.5);
Tailwind
colors: {
  custom: {
    50: '#8fb065',
    500: '#5d8f22',
    950: '#000000',
  },
}
SCSS
$custom: #5d8f22;
$custom-light: #8fb065;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8f22",
  "rgb": {
    "r": 93,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 87.523,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59293,
    "c": 0.14668,
    "h": 131.5
  },
  "luminance": 0.22088
}

Semantic roles & 50–950 ramp

primary
#5D8F22
secondary
#8252BA
accent
#43E58D
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8F22

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

Preview Lab → · Contrast checker → · Palette generator →

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