#5A722D#5A722D

#5A722D is a mid, moderate yellow-green. Relative luminance 0.144; OKLCH L 51.7% C 0.100 H 125.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5A722D
RGBrgb(90, 114, 45)
HSLhsl(81, 43%, 31%)
HSVhsv(81, 61%, 45%)
CMYKcmyk(21.1%, 0%, 60.5%, 55.3%)
CIE-LABlab(44.80, -20.58, 34.68)
CIE-LCHlch(44.80, 40.33, 120.68°)
OKLaboklab(51.71% -0.0583 0.0808)
OKLCHoklch(51.71% 0.1 125.8)
XYZxyz(10.7074, 14.3976, 4.6970)
Luminance0.1440 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A722D #452D72
analogous
#72672D #5A722D #37722D
triadic
#5A722D #2D5A72 #722D5A
tetradic
#5A722D #2D7267 #452D72 #722D37
square
#5A722D #2D7267 #452D72 #722D37
split-complementary
#5A722D #2D3772 #672D72
monochromatic
#151A0A #37461C #5A722D #7D9E3E #9CBE5B

Accessibility & contrast

On white

5.41
#5A722D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5A722D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A722D
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A722D#FFFFFF#000000##FFFFFF
##5A722D1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B26
Deuteranopia (green-blind)
#756A32
Tritanopia (blue-blind)
#5E6D63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5a722d;
/* rgb */ color: rgb(90, 114, 45);
/* oklch */ color: oklch(51.7% 0.100 125.8);
Tailwind
colors: {
  custom: {
    50: '#8a9a69',
    500: '#5a722d',
    950: '#000000',
  },
}
SCSS
$custom: #5a722d;
$custom-light: #8a9a69;
$custom-dark: #000000;
JSON
{
  "hex": "#5a722d",
  "rgb": {
    "r": 90,
    "g": 114,
    "b": 45
  },
  "hsl": {
    "h": 80.87,
    "s": 43.396,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51705,
    "c": 0.09966,
    "h": 125.8
  },
  "luminance": 0.14398
}

Semantic roles & 50–950 ramp

primary
#5A722D
secondary
#7257A3
accent
#55D381
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5A722D

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

Preview Lab → · Contrast checker → · Palette generator →

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