#5D7722#5D7722

#5D7722 is a mid, moderate yellow-green. Relative luminance 0.156; OKLCH L 53.1% C 0.115 H 124.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5D7722
RGBrgb(93, 119, 34)
HSLhsl(78, 56%, 30%)
HSVhsv(78, 71%, 47%)
CMYKcmyk(21.8%, 0%, 71.4%, 53.3%)
CIE-LABlab(46.49, -22.79, 41.65)
CIE-LCHlch(46.49, 47.48, 118.69°)
OKLaboklab(53.1% -0.0657 0.094)
OKLCHoklch(53.1% 0.115 124.9)
XYZxyz(11.3998, 15.6362, 3.9306)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7722 #3C2277
analogous
#776722 #5D7722 #327722
triadic
#5D7722 #225D77 #77225D
tetradic
#5D7722 #227767 #3C2277 #772232
square
#5D7722 #227767 #3C2277 #772232
split-complementary
#5D7722 #223277 #672277
monochromatic
#131807 #384714 #5D7722 #82A730 #A3CB49

Accessibility & contrast

On white

5.09
#5D7722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5D7722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7722
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7722#FFFFFF#000000##FFFFFF
##5D77221.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F15
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#617166
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d7722;
/* rgb */ color: rgb(93, 119, 34);
/* oklch */ color: oklch(53.1% 0.115 124.9);
Tailwind
colors: {
  custom: {
    50: '#8e9e63',
    500: '#5d7722',
    950: '#000000',
  },
}
SCSS
$custom: #5d7722;
$custom-light: #8e9e63;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7722",
  "rgb": {
    "r": 93,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 78.353,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.53097,
    "c": 0.11466,
    "h": 124.9
  },
  "luminance": 0.15636
}

Semantic roles & 50–950 ramp

primary
#5D7722
secondary
#684BAA
accent
#49DF77
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E05
muted
#7D7E7A

Preview Lab

Preview with #5D7722

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

Preview Lab → · Contrast checker → · Palette generator →

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