#477D2A#477D2A

#477D2A is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.3% C 0.129 H 136.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#477D2A
RGBrgb(71, 125, 42)
HSLhsl(99, 50%, 33%)
HSVhsv(99, 66%, 49%)
CMYKcmyk(43.2%, 0%, 66.4%, 51%)
CIE-LABlab(47.20, -33.66, 38.48)
CIE-LCHlch(47.20, 51.12, 131.17°)
OKLaboklab(53.35% -0.0932 0.0888)
OKLCHoklch(53.35% 0.129 136.4)
XYZxyz(10.3498, 16.1734, 4.7665)
Luminance0.1617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477D2A #602A7D
analogous
#717D2A #477D2A #2A7D36
triadic
#477D2A #2A477D #7D2A47
tetradic
#477D2A #2A717D #602A7D #7D362A
square
#477D2A #2A717D #602A7D #7D362A
split-complementary
#477D2A #362A7D #7D2A71
monochromatic
#13210B #2D4F1B #477D2A #61AB39 #80C85A

Accessibility & contrast

On white

4.96
#477D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#477D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477D2A
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477D2A#FFFFFF#000000##FFFFFF
##477D2A1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817320
Deuteranopia (green-blind)
#7A6E31
Tritanopia (blue-blind)
#45786C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #477d2a;
/* rgb */ color: rgb(71, 125, 42);
/* oklch */ color: oklch(53.3% 0.129 136.4);
Tailwind
colors: {
  custom: {
    50: '#7fa368',
    500: '#477d2a',
    950: '#000000',
  },
}
SCSS
$custom: #477d2a;
$custom-light: #7fa368;
$custom-dark: #000000;
JSON
{
  "hex": "#477d2a",
  "rgb": {
    "r": 71,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 99.036,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5335,
    "c": 0.12878,
    "h": 136.4
  },
  "luminance": 0.16174
}

Semantic roles & 50–950 ramp

primary
#477D2A
secondary
#8F56AD
accent
#4FD9A9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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