#5D8922#5D8922

#5D8922 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.7% C 0.139 H 130.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5D8922
RGBrgb(93, 137, 34)
HSLhsl(86, 60%, 34%)
HSVhsv(86, 75%, 54%)
CMYKcmyk(32.1%, 0%, 75.2%, 46.3%)
CIE-LABlab(52.21, -31.55, 47.38)
CIE-LCHlch(52.21, 56.93, 123.66°)
OKLaboklab(57.74% -0.0896 0.106)
OKLCHoklch(57.74% 0.139 130.2)
XYZxyz(13.7485, 20.3335, 4.7135)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8922 #4E2289
analogous
#898122 #5D8922 #298922
triadic
#5D8922 #225D89 #89225D
tetradic
#5D8922 #228981 #4E2289 #892229
square
#5D8922 #228981 #4E2289 #892229
split-complementary
#5D8922 #222989 #812289
monochromatic
#1A270A #3C5816 #5D8922 #7EBA2E #9CD451

Accessibility & contrast

On white

4.14
#5D8922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5D8922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8922
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8922#FFFFFF#000000##000000
##5D89221.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F0E
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#5F8375
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5d8922;
/* rgb */ color: rgb(93, 137, 34);
/* oklch */ color: oklch(57.7% 0.139 130.2);
Tailwind
colors: {
  custom: {
    50: '#8fab65',
    500: '#5d8922',
    950: '#000000',
  },
}
SCSS
$custom: #5d8922;
$custom-light: #8fab65;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8922",
  "rgb": {
    "r": 93,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 85.631,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57739,
    "c": 0.13883,
    "h": 130.2
  },
  "luminance": 0.20334
}

Semantic roles & 50–950 ramp

primary
#5D8922
secondary
#7C4FB8
accent
#44E388
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8922

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

Preview Lab → · Contrast checker → · Palette generator →

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