#477D1E#477D1E

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

Color values

HEX#477D1E
RGBrgb(71, 125, 30)
HSLhsl(94, 61%, 30%)
HSVhsv(94, 76%, 49%)
CMYKcmyk(43.2%, 0%, 76%, 51%)
CIE-LABlab(47.11, -34.66, 43.44)
CIE-LCHlch(47.11, 55.58, 128.59°)
OKLaboklab(53.24% -0.0969 0.0976)
OKLCHoklch(53.24% 0.138 134.8)
XYZxyz(10.1663, 16.1000, 3.8000)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477D1E #541E7D
analogous
#767D1E #477D1E #1E7D24
triadic
#477D1E #1E477D #7D1E47
tetradic
#477D1E #1E767D #541E7D #7D241E
square
#477D1E #1E767D #541E7D #7D241E
split-complementary
#477D1E #241E7D #7D1E76
monochromatic
#0F1A06 #2B4C12 #477D1E #63AE2A #81D243

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477D1E#FFFFFF#000000##FFFFFF
##477D1E1.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)
#82720C
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#46786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #477d1e;
/* rgb */ color: rgb(71, 125, 30);
/* oklch */ color: oklch(53.2% 0.138 134.8);
Tailwind
colors: {
  custom: {
    50: '#7fa361',
    500: '#477d1e',
    950: '#000000',
  },
}
SCSS
$custom: #477d1e;
$custom-light: #7fa361;
$custom-dark: #000000;
JSON
{
  "hex": "#477d1e",
  "rgb": {
    "r": 71,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 94.105,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53241,
    "c": 0.13751,
    "h": 134.8
  },
  "luminance": 0.16101
}

Semantic roles & 50–950 ramp

primary
#477D1E
secondary
#8346B0
accent
#43E49F
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #477D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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