#5D7221#5D7221

#5D7221 is a mid, moderate yellow-green. Relative luminance 0.145; OKLCH L 51.8% C 0.109 H 122.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5D7221
RGBrgb(93, 114, 33)
HSLhsl(76, 55%, 29%)
HSVhsv(76, 71%, 45%)
CMYKcmyk(18.4%, 0%, 71.1%, 55.3%)
CIE-LABlab(44.90, -20.29, 40.44)
CIE-LCHlch(44.90, 45.24, 116.64°)
OKLaboklab(51.81% -0.0589 0.0913)
OKLCHoklch(51.81% 0.109 122.8)
XYZxyz(10.8061, 14.4715, 3.6625)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7221 #362172
analogous
#725F21 #5D7221 #357221
triadic
#5D7221 #215D72 #72215D
tetradic
#5D7221 #21725F #362172 #722135
square
#5D7221 #21725F #362172 #722135
split-complementary
#5D7221 #213572 #5F2172
monochromatic
#131807 #364313 #5D7221 #84A12F #A7C944

Accessibility & contrast

On white

5.39
#5D7221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5D7221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7221
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7221#FFFFFF#000000##FFFFFF
##5D72211.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B15
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#626C62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d7221;
/* rgb */ color: rgb(93, 114, 33);
/* oklch */ color: oklch(51.8% 0.109 122.8);
Tailwind
colors: {
  custom: {
    50: '#8d9a61',
    500: '#5d7221',
    950: '#000000',
  },
}
SCSS
$custom: #5d7221;
$custom-light: #8d9a61;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7221",
  "rgb": {
    "r": 93,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 75.556,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51808,
    "c": 0.10863,
    "h": 122.8
  },
  "luminance": 0.14472
}

Semantic roles & 50–950 ramp

primary
#5D7221
secondary
#6149A5
accent
#49DE70
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5D7221

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

Preview Lab → · Contrast checker → · Palette generator →

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