#477F20#477F20

#477F20 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.8% C 0.139 H 135.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#477F20
RGBrgb(71, 127, 32)
HSLhsl(95, 60%, 31%)
HSVhsv(95, 75%, 50%)
CMYKcmyk(44.1%, 0%, 74.8%, 50.2%)
CIE-LABlab(47.78, -35.40, 43.35)
CIE-LCHlch(47.78, 55.96, 129.23°)
OKLaboklab(53.8% -0.0987 0.0977)
OKLCHoklch(53.8% 0.139 135.3)
XYZxyz(10.4484, 16.6220, 4.0240)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477F20 #58207F
analogous
#767F20 #477F20 #207F28
triadic
#477F20 #20477F #7F2047
tetradic
#477F20 #20767F #58207F #7F2820
square
#477F20 #20767F #58207F #7F2820
split-complementary
#477F20 #28207F #7F2076
monochromatic
#101D07 #2C4E14 #477F20 #62B02C #80D148

Accessibility & contrast

On white

4.86
#477F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#477F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477F20
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477F20#FFFFFF#000000##FFFFFF
##477F201.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740F
Deuteranopia (green-blind)
#7C7029
Tritanopia (blue-blind)
#457A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #477f20;
/* rgb */ color: rgb(71, 127, 32);
/* oklch */ color: oklch(53.8% 0.139 135.3);
Tailwind
colors: {
  custom: {
    50: '#7fa462',
    500: '#477f20',
    950: '#000000',
  },
}
SCSS
$custom: #477f20;
$custom-light: #7fa462;
$custom-dark: #000000;
JSON
{
  "hex": "#477f20",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 95.368,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53798,
    "c": 0.13888,
    "h": 135.3
  },
  "luminance": 0.16623
}

Semantic roles & 50–950 ramp

primary
#477F20
secondary
#8749B2
accent
#45E3A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #477F20

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

Preview Lab → · Contrast checker → · Palette generator →

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