#477D1A#477D1A

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

Color values

HEX#477D1A
RGBrgb(71, 125, 26)
HSLhsl(93, 66%, 30%)
HSVhsv(93, 79%, 49%)
CMYKcmyk(43.2%, 0%, 79.2%, 51%)
CIE-LABlab(47.08, -34.93, 44.88)
CIE-LCHlch(47.08, 56.87, 127.89°)
OKLaboklab(53.21% -0.0979 0.0999)
OKLCHoklch(53.21% 0.14 134.4)
XYZxyz(10.1184, 16.0809, 3.5478)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477D1A #501A7D
analogous
#797D1A #477D1A #1A7D1E
triadic
#477D1A #1A477D #7D1A47
tetradic
#477D1A #1A797D #501A7D #7D1E1A
square
#477D1A #1A797D #501A7D #7D1E1A
split-complementary
#477D1A #1E1A7D #7D1A79
monochromatic
#0E1905 #2A4A0F #477D1A #64B025 #82D63B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477D1A#FFFFFF#000000##FFFFFF
##477D1A1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #477d1a;
/* rgb */ color: rgb(71, 125, 26);
/* oklch */ color: oklch(53.2% 0.140 134.4);
Tailwind
colors: {
  custom: {
    50: '#7fa35f',
    500: '#477d1a',
    950: '#000000',
  },
}
SCSS
$custom: #477d1a;
$custom-light: #7fa35f;
$custom-dark: #000000;
JSON
{
  "hex": "#477d1a",
  "rgb": {
    "r": 71,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 92.727,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53212,
    "c": 0.13991,
    "h": 134.4
  },
  "luminance": 0.16081
}

Semantic roles & 50–950 ramp

primary
#477D1A
secondary
#7E42B1
accent
#3FE99C
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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