#475142#475142

#475142 is a dark, muted green. Relative luminance 0.076; OKLCH L 42.1% C 0.027 H 135.2°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#475142
RGBrgb(71, 81, 66)
HSLhsl(100, 10%, 29%)
HSVhsv(100, 19%, 32%)
CMYKcmyk(12.3%, 0%, 18.5%, 68.2%)
CIE-LABlab(33.17, -7.23, 7.51)
CIE-LCHlch(33.17, 10.43, 133.93°)
OKLaboklab(42.13% -0.0195 0.0194)
OKLCHoklch(42.13% 0.027 135.2)
XYZxyz(6.5241, 7.6177, 6.2798)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475142 #4C4251
analogous
#4F5142 #475142 #425145
triadic
#475142 #424751 #514247
tetradic
#475142 #424F51 #4C4251 #514542
square
#475142 #424F51 #4C4251 #514542
split-complementary
#475142 #454251 #51424F
monochromatic
#0F110E #292F27 #475142 #65735D #83937A

Accessibility & contrast

On white

8.32
#475142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#475142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475142
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475142#FFFFFF#000000##FFFFFF
##4751421.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524F41
Deuteranopia (green-blind)
#514E43
Tritanopia (blue-blind)
#47504D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #475142;
/* rgb */ color: rgb(71, 81, 66);
/* oklch */ color: oklch(42.1% 0.027 135.2);
Tailwind
colors: {
  custom: {
    50: '#7a8176',
    500: '#475142',
    950: '#000000',
  },
}
SCSS
$custom: #475142;
$custom-light: #7a8176;
$custom-dark: #000000;
JSON
{
  "hex": "#475142",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 66
  },
  "hsl": {
    "h": 100,
    "s": 10.204,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4213,
    "c": 0.02744,
    "h": 135.2
  },
  "luminance": 0.07618
}

Semantic roles & 50–950 ramp

primary
#475142
secondary
#7A6F80
accent
#75B39E
background
#F7F7F7
surface
#EDEEED
border
#C8C9C8
text
#090A08
muted
#7B7C7B

Preview Lab

Preview with #475142

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

Preview Lab → · Contrast checker → · Palette generator →

#475142 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva