#5A6746#5A6746

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

Color values

HEX#5A6746
RGBrgb(90, 103, 70)
HSLhsl(84, 19%, 34%)
HSVhsv(84, 32%, 40%)
CMYKcmyk(12.6%, 0%, 32%, 59.6%)
CIE-LABlab(41.71, -11.38, 17.04)
CIE-LCHlch(41.71, 20.49, 123.74°)
OKLaboklab(49.35% -0.0307 0.0427)
OKLCHoklch(49.35% 0.053 125.7)
XYZxyz(10.1721, 12.3163, 7.6346)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6746 #534667
analogous
#676446 #5A6746 #4A6746
triadic
#5A6746 #465A67 #67465A
tetradic
#5A6746 #466764 #534667 #67464A
square
#5A6746 #466764 #534667 #67464A
split-complementary
#5A6746 #464A67 #644667
monochromatic
#1A1E14 #3A432D #5A6746 #7A8B5F #98A87F

Accessibility & contrast

On white

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

On black

3.46
#5A6746 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5A6746#FFFFFF#000000##FFFFFF
##5A67461.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a6746;
/* rgb */ color: rgb(90, 103, 70);
/* oklch */ color: oklch(49.4% 0.053 125.7);
Tailwind
colors: {
  custom: {
    50: '#899279',
    500: '#5a6746',
    950: '#000000',
  },
}
SCSS
$custom: #5a6746;
$custom-light: #899279;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6746",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 70
  },
  "hsl": {
    "h": 83.636,
    "s": 19.075,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4935,
    "c": 0.05261,
    "h": 125.7
  },
  "luminance": 0.12316
}

Semantic roles & 50–950 ramp

primary
#5A6746
secondary
#817495
accent
#6CBC8B
background
#F8F8F7
surface
#F0F0ED
border
#CBCBC8
text
#0B0D09
muted
#7C7D7B

Preview Lab

Preview with #5A6746

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

Preview Lab → · Contrast checker → · Palette generator →

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