#477B2F#477B2F

#477B2F is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.9% C 0.122 H 137.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#477B2F
RGBrgb(71, 123, 47)
HSLhsl(101, 45%, 33%)
HSVhsv(101, 62%, 48%)
CMYKcmyk(42.3%, 0%, 61.8%, 51.8%)
CIE-LABlab(46.59, -32.23, 35.43)
CIE-LCHlch(46.59, 47.90, 132.29°)
OKLaboklab(52.87% -0.089 0.0829)
OKLCHoklch(52.87% 0.122 137)
XYZxyz(10.1943, 15.7102, 5.1840)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477B2F #632F7B
analogous
#6D7B2F #477B2F #2F7B3D
triadic
#477B2F #2F477B #7B2F47
tetradic
#477B2F #2F6D7B #632F7B #7B3D2F
square
#477B2F #2F6D7B #632F7B #7B3D2F
split-complementary
#477B2F #3D2F7B #7B2F6D
monochromatic
#14220D #2D4F1E #477B2F #61A740 #80C362

Accessibility & contrast

On white

5.07
#477B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#477B2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477B2F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477B2F#FFFFFF#000000##FFFFFF
##477B2F1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7127
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#45776B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #477b2f;
/* rgb */ color: rgb(71, 123, 47);
/* oklch */ color: oklch(52.9% 0.122 137.0);
Tailwind
colors: {
  custom: {
    50: '#7ea16a',
    500: '#477b2f',
    950: '#000000',
  },
}
SCSS
$custom: #477b2f;
$custom-light: #7ea16a;
$custom-dark: #000000;
JSON
{
  "hex": "#477b2f",
  "rgb": {
    "r": 71,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 101.053,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52868,
    "c": 0.12162,
    "h": 137
  },
  "luminance": 0.15711
}

Semantic roles & 50–950 ramp

primary
#477B2F
secondary
#915CAA
accent
#53D4AC
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #477B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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