#477F34#477F34

#477F34 is a mid, vivid green. Relative luminance 0.168; OKLCH L 54.0% C 0.123 H 138.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#477F34
RGBrgb(71, 127, 52)
HSLhsl(105, 42%, 35%)
HSVhsv(105, 59%, 50%)
CMYKcmyk(44.1%, 0%, 59.1%, 50.2%)
CIE-LABlab(47.96, -33.47, 34.54)
CIE-LCHlch(47.96, 48.10, 134.10°)
OKLaboklab(54.01% -0.092 0.0815)
OKLCHoklch(54.01% 0.123 138.5)
XYZxyz(10.8074, 16.7656, 5.9148)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477F34 #6C347F
analogous
#6C7F34 #477F34 #347F47
triadic
#477F34 #34477F #7F3447
tetradic
#477F34 #346C7F #6C347F #7F4734
square
#477F34 #346C7F #6C347F #7F4734
split-complementary
#477F34 #47347F #7F346C
monochromatic
#162810 #2F5422 #477F34 #5FAA46 #81C26B

Accessibility & contrast

On white

4.82
#477F34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#477F34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477F34
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477F34#FFFFFF#000000##FFFFFF
##477F341.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83752C
Deuteranopia (green-blind)
#7B703A
Tritanopia (blue-blind)
#437B6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #477f34;
/* rgb */ color: rgb(71, 127, 52);
/* oklch */ color: oklch(54.0% 0.123 138.5);
Tailwind
colors: {
  custom: {
    50: '#7ea46e',
    500: '#477f34',
    950: '#000000',
  },
}
SCSS
$custom: #477f34;
$custom-light: #7ea46e;
$custom-dark: #000000;
JSON
{
  "hex": "#477f34",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 52
  },
  "hsl": {
    "h": 104.8,
    "s": 41.899,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54007,
    "c": 0.1229,
    "h": 138.5
  },
  "luminance": 0.16766
}

Semantic roles & 50–950 ramp

primary
#477F34
secondary
#9964AA
accent
#56D2B2
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #477F34

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

Preview Lab → · Contrast checker → · Palette generator →

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