#477D29#477D29

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

Color values

HEX#477D29
RGBrgb(71, 125, 41)
HSLhsl(99, 51%, 33%)
HSVhsv(99, 67%, 49%)
CMYKcmyk(43.2%, 0%, 67.2%, 51%)
CIE-LABlab(47.19, -33.75, 38.93)
CIE-LCHlch(47.19, 51.52, 130.93°)
OKLaboklab(53.34% -0.0936 0.0896)
OKLCHoklch(53.34% 0.13 136.2)
XYZxyz(10.3321, 16.1663, 4.6734)
Luminance0.1617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477D29 #5F297D
analogous
#717D29 #477D29 #297D35
triadic
#477D29 #29477D #7D2947
tetradic
#477D29 #29717D #5F297D #7D3529
square
#477D29 #29717D #5F297D #7D3529
split-complementary
#477D29 #35297D #7D2971
monochromatic
#13210B #2D4F1A #477D29 #61AB38 #80C858

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477D29#FFFFFF#000000##FFFFFF
##477D291.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)
#81731E
Deuteranopia (green-blind)
#7A6E30
Tritanopia (blue-blind)
#45786C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #477d29;
/* rgb */ color: rgb(71, 125, 41);
/* oklch */ color: oklch(53.3% 0.130 136.2);
Tailwind
colors: {
  custom: {
    50: '#7fa367',
    500: '#477d29',
    950: '#000000',
  },
}
SCSS
$custom: #477d29;
$custom-light: #7fa367;
$custom-dark: #000000;
JSON
{
  "hex": "#477d29",
  "rgb": {
    "r": 71,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 98.571,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53339,
    "c": 0.12959,
    "h": 136.2
  },
  "luminance": 0.16167
}

Semantic roles & 50–950 ramp

primary
#477D29
secondary
#8E54AE
accent
#4EDAA8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477D29

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

Preview Lab → · Contrast checker → · Palette generator →

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