#477A2F#477A2F

#477A2F is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.6% C 0.120 H 136.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#477A2F
RGBrgb(71, 122, 47)
HSLhsl(101, 44%, 33%)
HSVhsv(101, 61%, 48%)
CMYKcmyk(41.8%, 0%, 61.5%, 52.2%)
CIE-LABlab(46.26, -31.77, 35.05)
CIE-LCHlch(46.26, 47.31, 132.19°)
OKLaboklab(52.6% -0.0877 0.0821)
OKLCHoklch(52.6% 0.12 136.9)
XYZxyz(10.0709, 15.4634, 5.1428)
Luminance0.1546 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477A2F #622F7A
analogous
#6C7A2F #477A2F #2F7A3C
triadic
#477A2F #2F477A #7A2F47
tetradic
#477A2F #2F6C7A #622F7A #7A3C2F
square
#477A2F #2F6C7A #622F7A #7A3C2F
split-complementary
#477A2F #3C2F7A #7A2F6C
monochromatic
#14220D #2D4E1E #477A2F #61A640 #80C261

Accessibility & contrast

On white

5.13
#477A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#477A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477A2F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477A2F#FFFFFF#000000##FFFFFF
##477A2F1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7027
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#45766A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #477a2f;
/* rgb */ color: rgb(71, 122, 47);
/* oklch */ color: oklch(52.6% 0.120 136.9);
Tailwind
colors: {
  custom: {
    50: '#7ea16a',
    500: '#477a2f',
    950: '#000000',
  },
}
SCSS
$custom: #477a2f;
$custom-light: #7ea16a;
$custom-dark: #000000;
JSON
{
  "hex": "#477a2f",
  "rgb": {
    "r": 71,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 100.8,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52599,
    "c": 0.12016,
    "h": 136.9
  },
  "luminance": 0.15464
}

Semantic roles & 50–950 ramp

primary
#477A2F
secondary
#905CA9
accent
#54D4AB
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F07
muted
#7C7E7A

Preview Lab

Preview with #477A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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