#477F2F#477F2F

#477F2F is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.9% C 0.127 H 137.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#477F2F
RGBrgb(71, 127, 47)
HSLhsl(102, 46%, 34%)
HSVhsv(102, 63%, 50%)
CMYKcmyk(44.1%, 0%, 63%, 50.2%)
CIE-LABlab(47.91, -34.04, 36.92)
CIE-LCHlch(47.91, 50.22, 132.67°)
OKLaboklab(53.95% -0.0939 0.0861)
OKLCHoklch(53.95% 0.127 137.5)
XYZxyz(10.7007, 16.7229, 5.3528)
Luminance0.1672 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477F2F #672F7F
analogous
#6F7F2F #477F2F #2F7F3F
triadic
#477F2F #2F477F #7F2F47
tetradic
#477F2F #2F6F7F #672F7F #7F3F2F
square
#477F2F #2F6F7F #672F7F #7F3F2F
split-complementary
#477F2F #3F2F7F #7F2F6F
monochromatic
#15260E #2E521E #477F2F #60AC40 #81C563

Accessibility & contrast

On white

4.83
#477F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#477F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477F2F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477F2F#FFFFFF#000000##FFFFFF
##477F2F1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837526
Deuteranopia (green-blind)
#7B7035
Tritanopia (blue-blind)
#447B6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #477f2f;
/* rgb */ color: rgb(71, 127, 47);
/* oklch */ color: oklch(53.9% 0.127 137.5);
Tailwind
colors: {
  custom: {
    50: '#7fa46b',
    500: '#477f2f',
    950: '#000000',
  },
}
SCSS
$custom: #477f2f;
$custom-light: #7fa46b;
$custom-dark: #000000;
JSON
{
  "hex": "#477f2f",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 102,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53945,
    "c": 0.12741,
    "h": 137.5
  },
  "luminance": 0.16724
}

Semantic roles & 50–950 ramp

primary
#477F2F
secondary
#955EAC
accent
#52D6AE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #477F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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