#477D2F#477D2F

#477D2F is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.4% C 0.125 H 137.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#477D2F
RGBrgb(71, 125, 47)
HSLhsl(102, 45%, 34%)
HSVhsv(102, 62%, 49%)
CMYKcmyk(43.2%, 0%, 62.4%, 51%)
CIE-LABlab(47.25, -33.14, 36.18)
CIE-LCHlch(47.25, 49.06, 132.49°)
OKLaboklab(53.41% -0.0915 0.0845)
OKLCHoklch(53.41% 0.125 137.3)
XYZxyz(10.4449, 16.2115, 5.2675)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477D2F #652F7D
analogous
#6E7D2F #477D2F #2F7D3E
triadic
#477D2F #2F477D #7D2F47
tetradic
#477D2F #2F6E7D #652F7D #7D3E2F
square
#477D2F #2F6E7D #652F7D #7D3E2F
split-complementary
#477D2F #3E2F7D #7D2F6E
monochromatic
#14240E #2E511E #477D2F #60A940 #80C462

Accessibility & contrast

On white

4.95
#477D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#477D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477D2F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477D2F#FFFFFF#000000##FFFFFF
##477D2F1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#7A6E35
Tritanopia (blue-blind)
#44796C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #477d2f;
/* rgb */ color: rgb(71, 125, 47);
/* oklch */ color: oklch(53.4% 0.125 137.3);
Tailwind
colors: {
  custom: {
    50: '#7ea36b',
    500: '#477d2f',
    950: '#000000',
  },
}
SCSS
$custom: #477d2f;
$custom-light: #7ea36b;
$custom-dark: #000000;
JSON
{
  "hex": "#477d2f",
  "rgb": {
    "r": 71,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 101.538,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53406,
    "c": 0.12453,
    "h": 137.3
  },
  "luminance": 0.16212
}

Semantic roles & 50–950 ramp

primary
#477D2F
secondary
#935DAB
accent
#53D5AD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #477D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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