#477138#477138

#477138 is a mid, moderate green. Relative luminance 0.134; OKLCH L 50.3% C 0.097 H 138.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#477138
RGBrgb(71, 113, 56)
HSLhsl(104, 34%, 33%)
HSVhsv(104, 50%, 44%)
CMYKcmyk(37.2%, 0%, 50.4%, 55.7%)
CIE-LABlab(43.41, -26.37, 26.97)
CIE-LCHlch(43.41, 37.72, 134.35°)
OKLaboklab(50.31% -0.0723 0.0652)
OKLCHoklch(50.31% 0.097 138)
XYZxyz(9.2172, 13.4349, 5.8482)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477138 #623871
analogous
#637138 #477138 #387145
triadic
#477138 #384771 #713847
tetradic
#477138 #386371 #623871 #714538
square
#477138 #386371 #623871 #714538
split-complementary
#477138 #453871 #713863
monochromatic
#141F0F #2D4824 #477138 #619A4C #80B76D

Accessibility & contrast

On white

5.70
#477138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#477138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477138
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477138#FFFFFF#000000##FFFFFF
##4771381.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746933
Deuteranopia (green-blind)
#6E653C
Tritanopia (blue-blind)
#456E64
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #477138;
/* rgb */ color: rgb(71, 113, 56);
/* oklch */ color: oklch(50.3% 0.097 138.0);
Tailwind
colors: {
  custom: {
    50: '#7d9a70',
    500: '#477138',
    950: '#000000',
  },
}
SCSS
$custom: #477138;
$custom-light: #7d9a70;
$custom-dark: #000000;
JSON
{
  "hex": "#477138",
  "rgb": {
    "r": 71,
    "g": 113,
    "b": 56
  },
  "hsl": {
    "h": 104.211,
    "s": 33.728,
    "l": 33.137
  },
  "oklch": {
    "l": 0.50311,
    "c": 0.09736,
    "h": 138
  },
  "luminance": 0.13435
}

Semantic roles & 50–950 ramp

primary
#477138
secondary
#9065A0
accent
#5ECAAD
background
#F7F9F6
surface
#EEF2EC
border
#C9CCC7
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #477138

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

Preview Lab → · Contrast checker → · Palette generator →

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