#477F1D#477F1D

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

Color values

HEX#477F1D
RGBrgb(71, 127, 29)
HSLhsl(94, 63%, 31%)
HSVhsv(94, 77%, 50%)
CMYKcmyk(44.1%, 0%, 77.2%, 50.2%)
CIE-LABlab(47.76, -35.61, 44.46)
CIE-LCHlch(47.76, 56.96, 128.69°)
OKLaboklab(53.77% -0.0995 0.0995)
OKLCHoklch(53.77% 0.141 135)
XYZxyz(10.4094, 16.6065, 3.8190)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477F1D #551D7F
analogous
#787F1D #477F1D #1D7F24
triadic
#477F1D #1D477F #7F1D47
tetradic
#477F1D #1D787F #551D7F #7F241D
square
#477F1D #1D787F #551D7F #7F241D
split-complementary
#477F1D #241D7F #7F1D78
monochromatic
#0F1B06 #2B4D12 #477F1D #63B128 #81D442

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477F1D#FFFFFF#000000##FFFFFF
##477F1D1.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)
#847408
Deuteranopia (green-blind)
#7C7027
Tritanopia (blue-blind)
#467A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #477f1d;
/* rgb */ color: rgb(71, 127, 29);
/* oklch */ color: oklch(53.8% 0.141 135.0);
Tailwind
colors: {
  custom: {
    50: '#80a461',
    500: '#477f1d',
    950: '#000000',
  },
}
SCSS
$custom: #477f1d;
$custom-light: #80a461;
$custom-dark: #000000;
JSON
{
  "hex": "#477f1d",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 94.286,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53775,
    "c": 0.14077,
    "h": 135
  },
  "luminance": 0.16607
}

Semantic roles & 50–950 ramp

primary
#477F1D
secondary
#8445B2
accent
#42E6A0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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