#477A2E#477A2E

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

Color values

HEX#477A2E
RGBrgb(71, 122, 46)
HSLhsl(100, 45%, 33%)
HSVhsv(100, 62%, 48%)
CMYKcmyk(41.8%, 0%, 62.3%, 52.2%)
CIE-LABlab(46.25, -31.88, 35.53)
CIE-LCHlch(46.25, 47.74, 131.90°)
OKLaboklab(52.59% -0.0881 0.083)
OKLCHoklch(52.59% 0.121 136.7)
XYZxyz(10.0509, 15.4554, 5.0378)
Luminance0.1546 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477A2E #612E7A
analogous
#6D7A2E #477A2E #2E7A3B
triadic
#477A2E #2E477A #7A2E47
tetradic
#477A2E #2E6D7A #612E7A #7A3B2E
square
#477A2E #2E6D7A #612E7A #7A3B2E
split-complementary
#477A2E #3B2E7A #7A2E6D
monochromatic
#13210C #2D4E1D #477A2E #61A63F #80C360

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477A2E#FFFFFF#000000##FFFFFF
##477A2E1.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)
#7E7026
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#45766A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #477a2e;
/* rgb */ color: rgb(71, 122, 46);
/* oklch */ color: oklch(52.6% 0.121 136.7);
Tailwind
colors: {
  custom: {
    50: '#7ea16a',
    500: '#477a2e',
    950: '#000000',
  },
}
SCSS
$custom: #477a2e;
$custom-light: #7ea16a;
$custom-dark: #000000;
JSON
{
  "hex": "#477a2e",
  "rgb": {
    "r": 71,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 100.263,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52586,
    "c": 0.12105,
    "h": 136.7
  },
  "luminance": 0.15456
}

Semantic roles & 50–950 ramp

primary
#477A2E
secondary
#8F5AAA
accent
#53D5AA
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #477A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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