#477331#477331

#477331 is a mid, moderate green. Relative luminance 0.138; OKLCH L 50.7% C 0.108 H 136.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#477331
RGBrgb(71, 115, 49)
HSLhsl(100, 40%, 32%)
HSVhsv(100, 57%, 45%)
CMYKcmyk(38.3%, 0%, 57.4%, 54.9%)
CIE-LABlab(43.98, -28.26, 31.39)
CIE-LCHlch(43.98, 42.24, 131.99°)
OKLaboklab(50.74% -0.078 0.0744)
OKLCHoklch(50.74% 0.108 136.3)
XYZxyz(9.2834, 13.8224, 5.0840)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477331 #5D3173
analogous
#687331 #477331 #31733C
triadic
#477331 #314773 #733147
tetradic
#477331 #316873 #5D3173 #733C31
square
#477331 #316873 #5D3173 #733C31
split-complementary
#477331 #3C3173 #733168
monochromatic
#121D0C #2D481F #477331 #619E43 #80BC62

Accessibility & contrast

On white

5.58
#477331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#477331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477331
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477331#FFFFFF#000000##FFFFFF
##4773311.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A2B
Deuteranopia (green-blind)
#716736
Tritanopia (blue-blind)
#466F64
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #477331;
/* rgb */ color: rgb(71, 115, 49);
/* oklch */ color: oklch(50.7% 0.108 136.3);
Tailwind
colors: {
  custom: {
    50: '#7d9b6b',
    500: '#477331',
    950: '#000000',
  },
}
SCSS
$custom: #477331;
$custom-light: #7d9b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#477331",
  "rgb": {
    "r": 71,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 100,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.50741,
    "c": 0.10776,
    "h": 136.3
  },
  "luminance": 0.13823
}

Semantic roles & 50–950 ramp

primary
#477331
secondary
#8C5CA4
accent
#58D0A8
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #477331

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

Preview Lab → · Contrast checker → · Palette generator →

#477331 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva