#5A6728#5A6728

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

Color values

HEX#5A6728
RGBrgb(90, 103, 40)
HSLhsl(72, 44%, 28%)
HSVhsv(72, 61%, 40%)
CMYKcmyk(12.6%, 0%, 61.2%, 59.6%)
CIE-LABlab(41.26, -15.18, 33.19)
CIE-LCHlch(41.26, 36.49, 114.57°)
OKLaboklab(48.84% -0.0437 0.077)
OKLCHoklch(48.84% 0.089 119.6)
XYZxyz(9.4498, 12.0274, 3.8308)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6728 #352867
analogous
#675428 #5A6728 #3A6728
triadic
#5A6728 #285A67 #67285A
tetradic
#5A6728 #286754 #352867 #67283A
square
#5A6728 #286754 #352867 #67283A
split-complementary
#5A6728 #283A67 #542867
monochromatic
#131609 #333B17 #5A6728 #819339 #A4BB4F

Accessibility & contrast

On white

6.17
#5A6728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5A6728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6728
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6728#FFFFFF#000000##FFFFFF
##5A67281.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6121
Deuteranopia (green-blind)
#6C622C
Tritanopia (blue-blind)
#5F6259
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a6728;
/* rgb */ color: rgb(90, 103, 40);
/* oklch */ color: oklch(48.8% 0.089 119.6);
Tailwind
colors: {
  custom: {
    50: '#8a9264',
    500: '#5a6728',
    950: '#000000',
  },
}
SCSS
$custom: #5a6728;
$custom-light: #8a9264;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6728",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 40
  },
  "hsl": {
    "h": 72.381,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48838,
    "c": 0.08859,
    "h": 119.6
  },
  "luminance": 0.12027
}

Semantic roles & 50–950 ramp

primary
#5A6728
secondary
#60519A
accent
#54D46E
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0C0D06
muted
#7D7D7A

Preview Lab

Preview with #5A6728

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

Preview Lab → · Contrast checker → · Palette generator →

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