#5D7E22#5D7E22

#5D7E22 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.9% C 0.124 H 127.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5D7E22
RGBrgb(93, 126, 34)
HSLhsl(82, 58%, 31%)
HSVhsv(82, 73%, 49%)
CMYKcmyk(26.2%, 0%, 73%, 50.6%)
CIE-LABlab(48.72, -26.29, 43.90)
CIE-LCHlch(48.72, 51.17, 120.91°)
OKLaboklab(54.9% -0.0753 0.0987)
OKLCHoklch(54.9% 0.124 127.3)
XYZxyz(12.2638, 17.3641, 4.2186)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7E22 #43227E
analogous
#7E7122 #5D7E22 #2F7E22
triadic
#5D7E22 #225D7E #7E225D
tetradic
#5D7E22 #227E71 #43227E #7E222F
square
#5D7E22 #227E71 #43227E #7E222F
split-complementary
#5D7E22 #222F7E #71227E
monochromatic
#161E08 #394E15 #5D7E22 #81AE2F #A0CF4C

Accessibility & contrast

On white

4.70
#5D7E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5D7E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7E22
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7E22#FFFFFF#000000##FFFFFF
##5D7E221.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857513
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#61786C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5d7e22;
/* rgb */ color: rgb(93, 126, 34);
/* oklch */ color: oklch(54.9% 0.124 127.3);
Tailwind
colors: {
  custom: {
    50: '#8ea363',
    500: '#5d7e22',
    950: '#000000',
  },
}
SCSS
$custom: #5d7e22;
$custom-light: #8ea363;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7e22",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 81.522,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54897,
    "c": 0.12415,
    "h": 127.3
  },
  "luminance": 0.17364
}

Semantic roles & 50–950 ramp

primary
#5D7E22
secondary
#704BB1
accent
#47E17E
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0D0F06
muted
#7D7F7A

Preview Lab

Preview with #5D7E22

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

Preview Lab → · Contrast checker → · Palette generator →

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