#477A42#477A42

#477A42 is a mid, moderate green. Relative luminance 0.157; OKLCH L 52.9% C 0.101 H 142.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#477A42
RGBrgb(71, 122, 66)
HSLhsl(115, 30%, 37%)
HSVhsv(115, 46%, 48%)
CMYKcmyk(41.8%, 0%, 45.9%, 52.2%)
CIE-LABlab(46.51, -29.23, 25.37)
CIE-LCHlch(46.51, 38.70, 139.05°)
OKLaboklab(52.89% -0.0797 0.0621)
OKLCHoklch(52.89% 0.101 142.1)
XYZxyz(10.5410, 15.6514, 7.6188)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477A42 #75427A
analogous
#637A42 #477A42 #427A59
triadic
#477A42 #42477A #7A4247
tetradic
#477A42 #42637A #75427A #7A5942
square
#477A42 #42637A #75427A #7A5942
split-complementary
#477A42 #59427A #7A4263
monochromatic
#192B17 #30522D #477A42 #5EA257 #83B97D

Accessibility & contrast

On white

5.08
#477A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#477A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477A42
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477A42#FFFFFF#000000##FFFFFF
##477A421.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C713E
Deuteranopia (green-blind)
#756C46
Tritanopia (blue-blind)
#42776C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #477a42;
/* rgb */ color: rgb(71, 122, 66);
/* oklch */ color: oklch(52.9% 0.101 142.1);
Tailwind
colors: {
  custom: {
    50: '#7da177',
    500: '#477a42',
    950: '#000000',
  },
}
SCSS
$custom: #477a42;
$custom-light: #7da177;
$custom-dark: #000000;
JSON
{
  "hex": "#477a42",
  "rgb": {
    "r": 71,
    "g": 122,
    "b": 66
  },
  "hsl": {
    "h": 114.643,
    "s": 29.787,
    "l": 36.863
  },
  "oklch": {
    "l": 0.52885,
    "c": 0.10104,
    "h": 142.1
  },
  "luminance": 0.15652
}

Semantic roles & 50–950 ramp

primary
#477A42
secondary
#A074A4
accent
#62C6BD
background
#F7F9F7
surface
#EEF2ED
border
#C9CCC8
text
#0A0F09
muted
#7C7E7B

Preview Lab

Preview with #477A42

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

Preview Lab → · Contrast checker → · Palette generator →

#477A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva