#5A6741#5A6741

#5A6741 is a mid, muted yellow-green. Relative luminance 0.123; OKLCH L 49.2% C 0.059 H 123.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5A6741
RGBrgb(90, 103, 65)
HSLhsl(81, 23%, 33%)
HSVhsv(81, 37%, 40%)
CMYKcmyk(12.6%, 0%, 36.9%, 59.6%)
CIE-LABlab(41.62, -12.16, 19.85)
CIE-LCHlch(41.62, 23.27, 121.48°)
OKLaboklab(49.24% -0.0331 0.0492)
OKLCHoklch(49.24% 0.059 123.9)
XYZxyz(10.0208, 12.2558, 6.8377)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6741 #4E4167
analogous
#676141 #5A6741 #476741
triadic
#5A6741 #415A67 #67415A
tetradic
#5A6741 #416761 #4E4167 #674147
square
#5A6741 #416761 #4E4167 #674147
split-complementary
#5A6741 #414767 #614167
monochromatic
#181C12 #394129 #5A6741 #7B8D59 #99AA78

Accessibility & contrast

On white

6.08
#5A6741 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5A6741 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6741
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6741#FFFFFF#000000##FFFFFF
##5A67411.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B633E
Deuteranopia (green-blind)
#696243
Tritanopia (blue-blind)
#5D635D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a6741;
/* rgb */ color: rgb(90, 103, 65);
/* oklch */ color: oklch(49.2% 0.059 123.9);
Tailwind
colors: {
  custom: {
    50: '#899276',
    500: '#5a6741',
    950: '#000000',
  },
}
SCSS
$custom: #5a6741;
$custom-light: #899276;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6741",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 65
  },
  "hsl": {
    "h": 80.526,
    "s": 22.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.49244,
    "c": 0.05929,
    "h": 123.9
  },
  "luminance": 0.12256
}

Semantic roles & 50–950 ramp

primary
#5A6741
secondary
#7C6E96
accent
#69BF86
background
#F8F8F7
surface
#F0F0ED
border
#CBCBC8
text
#0B0D08
muted
#7C7D7B

Preview Lab

Preview with #5A6741

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

Preview Lab → · Contrast checker → · Palette generator →

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