#4A5040#4A5040

#4A5040 is a dark, muted yellow-green. Relative luminance 0.076; OKLCH L 42.1% C 0.027 H 124.3°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4A5040
RGBrgb(74, 80, 64)
HSLhsl(83, 11%, 28%)
HSVhsv(83, 20%, 31%)
CMYKcmyk(7.5%, 0%, 20%, 68.6%)
CIE-LABlab(33.06, -5.75, 8.64)
CIE-LCHlch(33.06, 10.38, 123.65°)
OKLaboklab(42.08% -0.0151 0.0222)
OKLCHoklch(42.08% 0.027 124.3)
XYZxyz(6.6180, 7.5633, 5.9607)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5040 #464050
analogous
#504E40 #4A5040 #425040
triadic
#4A5040 #404A50 #50404A
tetradic
#4A5040 #40504E #464050 #504042
square
#4A5040 #40504E #464050 #504042
split-complementary
#4A5040 #404250 #4E4050
monochromatic
#10110E #2B2E25 #4A5040 #69725B #899378

Accessibility & contrast

On white

8.36
#4A5040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4A5040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A5040
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5040#FFFFFF#000000##FFFFFF
##4A50401.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524E3F
Deuteranopia (green-blind)
#514E41
Tritanopia (blue-blind)
#4B4E4C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a5040;
/* rgb */ color: rgb(74, 80, 64);
/* oklch */ color: oklch(42.1% 0.027 124.3);
Tailwind
colors: {
  custom: {
    50: '#7c8174',
    500: '#4a5040',
    950: '#000000',
  },
}
SCSS
$custom: #4a5040;
$custom-light: #7c8174;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5040",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 64
  },
  "hsl": {
    "h": 82.5,
    "s": 11.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.42083,
    "c": 0.02684,
    "h": 124.3
  },
  "luminance": 0.07563
}

Semantic roles & 50–950 ramp

primary
#4A5040
secondary
#746D7F
accent
#74B48C
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#090A08
muted
#7B7C7B

Preview Lab

Preview with #4A5040

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

Preview Lab → · Contrast checker → · Palette generator →

#4A5040 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva