#5A684C#5A684C

#5A684C is a mid, muted yellow-green. Relative luminance 0.126; OKLCH L 49.7% C 0.046 H 129.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5A684C
RGBrgb(90, 104, 76)
HSLhsl(90, 16%, 35%)
HSVhsv(90, 27%, 41%)
CMYKcmyk(13.5%, 0%, 26.9%, 59.2%)
CIE-LABlab(42.15, -10.95, 14.06)
CIE-LCHlch(42.15, 17.82, 127.90°)
OKLaboklab(49.74% -0.0294 0.0357)
OKLCHoklch(49.74% 0.046 129.6)
XYZxyz(10.4711, 12.5960, 8.7157)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A684C #5A4C68
analogous
#68684C #5A684C #4C684C
triadic
#5A684C #4C5A68 #684C5A
tetradic
#5A684C #4C6868 #5A4C68 #684C4C
square
#5A684C #4C6868 #5A4C68 #684C4C
split-complementary
#5A684C #4C4C68 #684C68
monochromatic
#1D2118 #3B4532 #5A684C #798B66 #97A787

Accessibility & contrast

On white

5.97
#5A684C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5A684C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A684C
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A684C#FFFFFF#000000##FFFFFF
##5A684C1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B644A
Deuteranopia (green-blind)
#69634D
Tritanopia (blue-blind)
#5B6660
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5a684c;
/* rgb */ color: rgb(90, 104, 76);
/* oklch */ color: oklch(49.7% 0.046 129.6);
Tailwind
colors: {
  custom: {
    50: '#89937e',
    500: '#5a684c',
    950: '#000000',
  },
}
SCSS
$custom: #5a684c;
$custom-light: #89937e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a684c",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 76
  },
  "hsl": {
    "h": 90,
    "s": 15.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.49737,
    "c": 0.04624,
    "h": 129.6
  },
  "luminance": 0.12596
}

Semantic roles & 50–950 ramp

primary
#5A684C
secondary
#887B95
accent
#6FB894
background
#F8F9F7
surface
#F0F1EE
border
#CBCBC9
text
#0B0D0A
muted
#7C7E7C

Preview Lab

Preview with #5A684C

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

Preview Lab → · Contrast checker → · Palette generator →

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