#5D7A22#5D7A22

#5D7A22 is a mid, moderate yellow-green. Relative luminance 0.164; OKLCH L 53.9% C 0.119 H 126.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5D7A22
RGBrgb(93, 122, 34)
HSLhsl(80, 56%, 31%)
HSVhsv(80, 72%, 48%)
CMYKcmyk(23.8%, 0%, 72.1%, 52.2%)
CIE-LABlab(47.45, -24.30, 42.62)
CIE-LCHlch(47.45, 49.06, 119.69°)
OKLaboklab(53.87% -0.0698 0.096)
OKLCHoklch(53.87% 0.119 126)
XYZxyz(11.7625, 16.3615, 4.0515)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7A22 #3F227A
analogous
#7A6B22 #5D7A22 #317A22
triadic
#5D7A22 #225D7A #7A225D
tetradic
#5D7A22 #227A6B #3F227A #7A2231
square
#5D7A22 #227A6B #3F227A #7A2231
split-complementary
#5D7A22 #22317A #6B227A
monochromatic
#141A07 #394A15 #5D7A22 #81AA2F #A1CD4A

Accessibility & contrast

On white

4.92
#5D7A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5D7A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7A22
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7A22#FFFFFF#000000##FFFFFF
##5D7A221.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817214
Deuteranopia (green-blind)
#7D7029
Tritanopia (blue-blind)
#617469
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d7a22;
/* rgb */ color: rgb(93, 122, 34);
/* oklch */ color: oklch(53.9% 0.119 126.0);
Tailwind
colors: {
  custom: {
    50: '#8ea063',
    500: '#5d7a22',
    950: '#000000',
  },
}
SCSS
$custom: #5d7a22;
$custom-light: #8ea063;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7a22",
  "rgb": {
    "r": 93,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 79.773,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53867,
    "c": 0.11874,
    "h": 126
  },
  "luminance": 0.16362
}

Semantic roles & 50–950 ramp

primary
#5D7A22
secondary
#6B4BAD
accent
#48E07A
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0D0E05
muted
#7D7E7A

Preview Lab

Preview with #5D7A22

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

Preview Lab → · Contrast checker → · Palette generator →

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