#477F2D#477F2D

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

Color values

HEX#477F2D
RGBrgb(71, 127, 45)
HSLhsl(101, 48%, 34%)
HSVhsv(101, 65%, 50%)
CMYKcmyk(44.1%, 0%, 64.6%, 50.2%)
CIE-LABlab(47.89, -34.25, 37.85)
CIE-LCHlch(47.89, 51.04, 132.14°)
OKLaboklab(53.92% -0.0946 0.0878)
OKLCHoklch(53.92% 0.129 137.1)
XYZxyz(10.6612, 16.7072, 5.1452)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477F2D #652D7F
analogous
#707F2D #477F2D #2D7F3C
triadic
#477F2D #2D477F #7F2D47
tetradic
#477F2D #2D707F #652D7F #7F3C2D
square
#477F2D #2D707F #652D7F #7F3C2D
split-complementary
#477F2D #3C2D7F #7F2D70
monochromatic
#14250D #2E521D #477F2D #60AC3D #80C760

Accessibility & contrast

On white

4.84
#477F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #477F2D
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477F2D#FFFFFF#000000##FFFFFF
##477F2D1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #477f2d;
/* rgb */ color: rgb(71, 127, 45);
/* oklch */ color: oklch(53.9% 0.129 137.1);
Tailwind
colors: {
  custom: {
    50: '#7fa46a',
    500: '#477f2d',
    950: '#000000',
  },
}
SCSS
$custom: #477f2d;
$custom-light: #7fa46a;
$custom-dark: #000000;
JSON
{
  "hex": "#477f2d",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 100.976,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53922,
    "c": 0.12912,
    "h": 137.1
  },
  "luminance": 0.16708
}

Semantic roles & 50–950 ramp

primary
#477F2D
secondary
#935BAD
accent
#51D7AD
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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