#5A6747#5A6747

#5A6747 is a mid, muted yellow-green. Relative luminance 0.123; OKLCH L 49.4% C 0.051 H 126.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5A6747
RGBrgb(90, 103, 71)
HSLhsl(84, 18%, 34%)
HSVhsv(84, 31%, 40%)
CMYKcmyk(12.6%, 0%, 31.1%, 59.6%)
CIE-LABlab(41.73, -11.22, 16.47)
CIE-LCHlch(41.73, 19.93, 124.26°)
OKLaboklab(49.37% -0.0302 0.0414)
OKLCHoklch(49.37% 0.051 126.2)
XYZxyz(10.2039, 12.3290, 7.8022)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6747 #544767
analogous
#676447 #5A6747 #4A6747
triadic
#5A6747 #475A67 #67475A
tetradic
#5A6747 #476764 #544767 #67474A
square
#5A6747 #476764 #544767 #67474A
split-complementary
#5A6747 #474A67 #644767
monochromatic
#1B1F15 #3A432E #5A6747 #7A8B60 #98A881

Accessibility & contrast

On white

6.06
#5A6747 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5A6747 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6747
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6747#FFFFFF#000000##FFFFFF
##5A67471.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6345
Deuteranopia (green-blind)
#696248
Tritanopia (blue-blind)
#5C645F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a6747;
/* rgb */ color: rgb(90, 103, 71);
/* oklch */ color: oklch(49.4% 0.051 126.2);
Tailwind
colors: {
  custom: {
    50: '#89927a',
    500: '#5a6747',
    950: '#000000',
  },
}
SCSS
$custom: #5a6747;
$custom-light: #89927a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6747",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 71
  },
  "hsl": {
    "h": 84.375,
    "s": 18.391,
    "l": 34.118
  },
  "oklch": {
    "l": 0.49373,
    "c": 0.05126,
    "h": 126.2
  },
  "luminance": 0.12329
}

Semantic roles & 50–950 ramp

primary
#5A6747
secondary
#827595
accent
#6DBB8D
background
#F8F8F7
surface
#F0F0ED
border
#CBCBC8
text
#0B0D09
muted
#7C7D7B

Preview Lab

Preview with #5A6747

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

Preview Lab → · Contrast checker → · Palette generator →

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