#477D17#477D17

#477D17 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.2% C 0.142 H 134.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#477D17
RGBrgb(71, 125, 23)
HSLhsl(92, 69%, 29%)
HSVhsv(92, 82%, 49%)
CMYKcmyk(43.2%, 0%, 81.6%, 51%)
CIE-LABlab(47.06, -35.10, 45.87)
CIE-LCHlch(47.06, 57.76, 127.43°)
OKLaboklab(53.19% -0.0986 0.1015)
OKLCHoklch(53.19% 0.142 134.2)
XYZxyz(10.0866, 16.0681, 3.3804)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477D17 #4D177D
analogous
#7A7D17 #477D17 #177D1A
triadic
#477D17 #17477D #7D1747
tetradic
#477D17 #177A7D #4D177D #7D1A17
square
#477D17 #177A7D #4D177D #7D1A17
split-complementary
#477D17 #1A177D #7D177A
monochromatic
#0F1A05 #2A490D #477D17 #64B121 #82DA35

Accessibility & contrast

On white

4.98
#477D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#477D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477D17
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477D17#FFFFFF#000000##FFFFFF
##477D171.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#46786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #477d17;
/* rgb */ color: rgb(71, 125, 23);
/* oklch */ color: oklch(53.2% 0.142 134.2);
Tailwind
colors: {
  custom: {
    50: '#80a35e',
    500: '#477d17',
    950: '#000000',
  },
}
SCSS
$custom: #477d17;
$custom-light: #80a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#477d17",
  "rgb": {
    "r": 71,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 91.765,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53193,
    "c": 0.14153,
    "h": 134.2
  },
  "luminance": 0.16069
}

Semantic roles & 50–950 ramp

primary
#477D17
secondary
#7B3EB2
accent
#3CEC99
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477D17

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

Preview Lab → · Contrast checker → · Palette generator →

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