#477D20#477D20

#477D20 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.3% C 0.136 H 135.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#477D20
RGBrgb(71, 125, 32)
HSLhsl(95, 59%, 31%)
HSVhsv(95, 74%, 49%)
CMYKcmyk(43.2%, 0%, 74.4%, 51%)
CIE-LABlab(47.12, -34.52, 42.68)
CIE-LCHlch(47.12, 54.89, 128.96°)
OKLaboklab(53.26% -0.0964 0.0963)
OKLCHoklch(53.26% 0.136 135)
XYZxyz(10.1926, 16.1106, 3.9388)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477D20 #56207D
analogous
#757D20 #477D20 #207D27
triadic
#477D20 #20477D #7D2047
tetradic
#477D20 #20757D #56207D #7D2720
square
#477D20 #20757D #56207D #7D2720
split-complementary
#477D20 #27207D #7D2075
monochromatic
#101C07 #2B4C14 #477D20 #63AE2C #81D047

Accessibility & contrast

On white

4.97
#477D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#477D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477D20
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477D20#FFFFFF#000000##FFFFFF
##477D201.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827310
Deuteranopia (green-blind)
#7B6E29
Tritanopia (blue-blind)
#46786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #477d20;
/* rgb */ color: rgb(71, 125, 32);
/* oklch */ color: oklch(53.3% 0.136 135.0);
Tailwind
colors: {
  custom: {
    50: '#7fa362',
    500: '#477d20',
    950: '#000000',
  },
}
SCSS
$custom: #477d20;
$custom-light: #7fa362;
$custom-dark: #000000;
JSON
{
  "hex": "#477d20",
  "rgb": {
    "r": 71,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 94.839,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53257,
    "c": 0.13622,
    "h": 135
  },
  "luminance": 0.16111
}

Semantic roles & 50–950 ramp

primary
#477D20
secondary
#8549B0
accent
#45E2A1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #477D20

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

Preview Lab → · Contrast checker → · Palette generator →

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