#5D7D22#5D7D22

#5D7D22 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.6% C 0.123 H 127.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5D7D22
RGBrgb(93, 125, 34)
HSLhsl(81, 57%, 31%)
HSVhsv(81, 73%, 49%)
CMYKcmyk(25.6%, 0%, 72.8%, 51%)
CIE-LABlab(48.40, -25.80, 43.58)
CIE-LCHlch(48.40, 50.65, 120.62°)
OKLaboklab(54.64% -0.0739 0.0981)
OKLCHoklch(54.64% 0.123 127)
XYZxyz(12.1366, 17.1097, 4.1761)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7D22 #42227D
analogous
#7D6F22 #5D7D22 #2F7D22
triadic
#5D7D22 #225D7D #7D225D
tetradic
#5D7D22 #227D6F #42227D #7D222F
square
#5D7D22 #227D6F #42227D #7D222F
split-complementary
#5D7D22 #222F7D #6F227D
monochromatic
#151D08 #394D15 #5D7D22 #81AD2F #A0CE4B

Accessibility & contrast

On white

4.75
#5D7D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5D7D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7D22
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7D22#FFFFFF#000000##FFFFFF
##5D7D221.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847413
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#61776B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d7d22;
/* rgb */ color: rgb(93, 125, 34);
/* oklch */ color: oklch(54.6% 0.123 127.0);
Tailwind
colors: {
  custom: {
    50: '#8ea263',
    500: '#5d7d22',
    950: '#000000',
  },
}
SCSS
$custom: #5d7d22;
$custom-light: #8ea263;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7d22",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 81.099,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54639,
    "c": 0.1228,
    "h": 127
  },
  "luminance": 0.1711
}

Semantic roles & 50–950 ramp

primary
#5D7D22
secondary
#6E4BB0
accent
#47E07D
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0D0F06
muted
#7D7F7A

Preview Lab

Preview with #5D7D22

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

Preview Lab → · Contrast checker → · Palette generator →

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