#5A6748#5A6748

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

Color values

HEX#5A6748
RGBrgb(90, 103, 72)
HSLhsl(85, 18%, 34%)
HSVhsv(85, 30%, 40%)
CMYKcmyk(12.6%, 0%, 30.1%, 59.6%)
CIE-LABlab(41.75, -11.06, 15.91)
CIE-LCHlch(41.75, 19.37, 124.80°)
OKLaboklab(49.4% -0.0298 0.04)
OKLCHoklch(49.4% 0.05 126.6)
XYZxyz(10.2362, 12.3420, 7.9726)
Luminance0.1234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6748 #554867
analogous
#676548 #5A6748 #4B6748
triadic
#5A6748 #485A67 #67485A
tetradic
#5A6748 #486765 #554867 #67484B
square
#5A6748 #486765 #554867 #67484B
split-complementary
#5A6748 #484B67 #654867
monochromatic
#1B1F16 #3B432F #5A6748 #798B61 #98A882

Accessibility & contrast

On white

6.05
#5A6748 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A6748
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6748#FFFFFF#000000##FFFFFF
##5A67481.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a6748;
/* rgb */ color: rgb(90, 103, 72);
/* oklch */ color: oklch(49.4% 0.050 126.6);
Tailwind
colors: {
  custom: {
    50: '#89927b',
    500: '#5a6748',
    950: '#000000',
  },
}
SCSS
$custom: #5a6748;
$custom-light: #89927b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6748",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 72
  },
  "hsl": {
    "h": 85.161,
    "s": 17.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.49396,
    "c": 0.04989,
    "h": 126.6
  },
  "luminance": 0.12342
}

Semantic roles & 50–950 ramp

primary
#5A6748
secondary
#837694
accent
#6DBA8E
background
#F8F8F7
surface
#F0F0ED
border
#CBCBC8
text
#0B0D09
muted
#7C7D7B

Preview Lab

Preview with #5A6748

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

Preview Lab → · Contrast checker → · Palette generator →

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