#5D7422#5D7422

#5D7422 is a mid, moderate yellow-green. Relative luminance 0.149; OKLCH L 52.3% C 0.111 H 123.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5D7422
RGBrgb(93, 116, 34)
HSLhsl(77, 55%, 29%)
HSVhsv(77, 71%, 45%)
CMYKcmyk(19.8%, 0%, 70.7%, 54.5%)
CIE-LABlab(45.54, -21.25, 40.67)
CIE-LCHlch(45.54, 45.89, 117.59°)
OKLaboklab(52.33% -0.0614 0.0919)
OKLCHoklch(52.33% 0.111 123.8)
XYZxyz(11.0484, 14.9334, 3.8134)
Luminance0.1493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7422 #392274
analogous
#746222 #5D7422 #347422
triadic
#5D7422 #225D74 #74225D
tetradic
#5D7422 #227462 #392274 #742234
square
#5D7422 #227462 #392274 #742234
split-complementary
#5D7422 #223474 #622274
monochromatic
#131807 #374514 #5D7422 #83A330 #A5C947

Accessibility & contrast

On white

5.27
#5D7422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5D7422 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7422
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7422#FFFFFF#000000##FFFFFF
##5D74221.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D16
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#626E64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d7422;
/* rgb */ color: rgb(93, 116, 34);
/* oklch */ color: oklch(52.3% 0.111 123.8);
Tailwind
colors: {
  custom: {
    50: '#8d9c62',
    500: '#5d7422',
    950: '#000000',
  },
}
SCSS
$custom: #5d7422;
$custom-light: #8d9c62;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7422",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 34
  },
  "hsl": {
    "h": 76.829,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52328,
    "c": 0.11058,
    "h": 123.8
  },
  "luminance": 0.14933
}

Semantic roles & 50–950 ramp

primary
#5D7422
secondary
#654BA7
accent
#4ADE73
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E05
muted
#7D7E7A

Preview Lab

Preview with #5D7422

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

Preview Lab → · Contrast checker → · Palette generator →

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