#5A6720#5A6720

#5A6720 is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.8% C 0.096 H 119.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5A6720
RGBrgb(90, 103, 32)
HSLhsl(71, 53%, 26%)
HSVhsv(71, 69%, 40%)
CMYKcmyk(12.6%, 0%, 68.9%, 59.6%)
CIE-LABlab(41.18, -15.84, 36.95)
CIE-LCHlch(41.18, 40.21, 113.21°)
OKLaboklab(48.75% -0.0465 0.0839)
OKLCHoklch(48.75% 0.096 119)
XYZxyz(9.3276, 11.9785, 3.1869)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6720 #2D2067
analogous
#675120 #5A6720 #376720
triadic
#5A6720 #205A67 #67205A
tetradic
#5A6720 #206751 #2D2067 #672037
square
#5A6720 #206751 #2D2067 #672037
split-complementary
#5A6720 #203767 #512067
monochromatic
#141707 #313811 #5A6720 #83962F #ABC33E

Accessibility & contrast

On white

6.18
#5A6720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5A6720 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6720
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6720#FFFFFF#000000##FFFFFF
##5A67201.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6116
Deuteranopia (green-blind)
#6C6125
Tritanopia (blue-blind)
#5F6158
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a6720;
/* rgb */ color: rgb(90, 103, 32);
/* oklch */ color: oklch(48.8% 0.096 119.0);
Tailwind
colors: {
  custom: {
    50: '#8b9260',
    500: '#5a6720',
    950: '#000000',
  },
}
SCSS
$custom: #5a6720;
$custom-light: #8b9260;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6720",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 32
  },
  "hsl": {
    "h": 70.986,
    "s": 52.593,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48751,
    "c": 0.09588,
    "h": 119
  },
  "luminance": 0.11978
}

Semantic roles & 50–950 ramp

primary
#5A6720
secondary
#57489B
accent
#4CDC66
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D05
muted
#7D7D79

Preview Lab

Preview with #5A6720

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

Preview Lab → · Contrast checker → · Palette generator →

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