#5A6E4E#5A6E4E

#5A6E4E is a mid, muted yellow-green. Relative luminance 0.139; OKLCH L 51.3% C 0.054 H 134.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5A6E4E
RGBrgb(90, 110, 78)
HSLhsl(98, 17%, 37%)
HSVhsv(98, 29%, 43%)
CMYKcmyk(18.2%, 0%, 29.1%, 56.9%)
CIE-LABlab(44.05, -13.96, 15.47)
CIE-LCHlch(44.05, 20.84, 132.06°)
OKLaboklab(51.27% -0.0378 0.0391)
OKLCHoklch(51.27% 0.054 134.1)
XYZxyz(11.1673, 13.8754, 9.2961)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6E4E #624E6E
analogous
#6A6E4E #5A6E4E #4E6E52
triadic
#5A6E4E #4E5A6E #6E4E5A
tetradic
#5A6E4E #4E6A6E #624E6E #6E524E
square
#5A6E4E #4E6A6E #624E6E #6E524E
split-complementary
#5A6E4E #524E6E #6E4E6A
monochromatic
#1F261B #3D4A35 #5A6E4E #779267 #97AC8A

Accessibility & contrast

On white

5.56
#5A6E4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5A6E4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6E4E
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6E4E#FFFFFF#000000##FFFFFF
##5A6E4E1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71694C
Deuteranopia (green-blind)
#6D6850
Tritanopia (blue-blind)
#5A6B65
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5a6e4e;
/* rgb */ color: rgb(90, 110, 78);
/* oklch */ color: oklch(51.3% 0.054 134.1);
Tailwind
colors: {
  custom: {
    50: '#89977f',
    500: '#5a6e4e',
    950: '#000000',
  },
}
SCSS
$custom: #5a6e4e;
$custom-light: #89977f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6e4e",
  "rgb": {
    "r": 90,
    "g": 110,
    "b": 78
  },
  "hsl": {
    "h": 97.5,
    "s": 17.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.51274,
    "c": 0.05441,
    "h": 134.1
  },
  "luminance": 0.13876
}

Semantic roles & 50–950 ramp

primary
#5A6E4E
secondary
#8F7E9A
accent
#6EBA9D
background
#F8F9F7
surface
#F0F2EE
border
#CBCCC9
text
#0B0D0A
muted
#7C7E7C

Preview Lab

Preview with #5A6E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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