#5D7322#5D7322

#5D7322 is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 52.1% C 0.109 H 123.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5D7322
RGBrgb(93, 115, 34)
HSLhsl(76, 54%, 29%)
HSVhsv(76, 70%, 45%)
CMYKcmyk(19.1%, 0%, 70.4%, 54.9%)
CIE-LABlab(45.23, -20.73, 40.35)
CIE-LCHlch(45.23, 45.36, 117.20°)
OKLaboklab(52.07% -0.06 0.0913)
OKLCHoklch(52.07% 0.109 123.3)
XYZxyz(10.9338, 14.7041, 3.7752)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7322 #382273
analogous
#736122 #5D7322 #357322
triadic
#5D7322 #225D73 #73225D
tetradic
#5D7322 #227361 #382273 #732235
square
#5D7322 #227361 #382273 #732235
split-complementary
#5D7322 #223573 #612273
monochromatic
#131807 #374414 #5D7322 #83A230 #A5C947

Accessibility & contrast

On white

5.33
#5D7322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5D7322 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7322
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7322#FFFFFF#000000##FFFFFF
##5D73221.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C16
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#626D63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d7322;
/* rgb */ color: rgb(93, 115, 34);
/* oklch */ color: oklch(52.1% 0.109 123.3);
Tailwind
colors: {
  custom: {
    50: '#8d9b62',
    500: '#5d7322',
    950: '#000000',
  },
}
SCSS
$custom: #5d7322;
$custom-light: #8d9b62;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7322",
  "rgb": {
    "r": 93,
    "g": 115,
    "b": 34
  },
  "hsl": {
    "h": 76.296,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52073,
    "c": 0.10922,
    "h": 123.3
  },
  "luminance": 0.14704
}

Semantic roles & 50–950 ramp

primary
#5D7322
secondary
#634BA6
accent
#4ADE72
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E05
muted
#7D7E7A

Preview Lab

Preview with #5D7322

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

Preview Lab → · Contrast checker → · Palette generator →

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