#477E1D#477E1D

#477E1D is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.5% C 0.139 H 134.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#477E1D
RGBrgb(71, 126, 29)
HSLhsl(94, 63%, 30%)
HSVhsv(94, 77%, 49%)
CMYKcmyk(43.7%, 0%, 77%, 50.6%)
CIE-LABlab(47.43, -35.17, 44.14)
CIE-LCHlch(47.43, 56.44, 128.55°)
OKLaboklab(53.5% -0.0984 0.0989)
OKLCHoklch(53.5% 0.139 134.9)
XYZxyz(10.2809, 16.3494, 3.7762)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477E1D #541D7E
analogous
#777E1D #477E1D #1D7E24
triadic
#477E1D #1D477E #7E1D47
tetradic
#477E1D #1D777E #541D7E #7E241D
square
#477E1D #1D777E #541D7E #7E241D
split-complementary
#477E1D #241D7E #7E1D77
monochromatic
#0F1B06 #2B4C12 #477E1D #63B028 #81D342

Accessibility & contrast

On white

4.92
#477E1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#477E1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477E1D
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477E1D#FFFFFF#000000##FFFFFF
##477E1D1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837309
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#46796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #477e1d;
/* rgb */ color: rgb(71, 126, 29);
/* oklch */ color: oklch(53.5% 0.139 134.9);
Tailwind
colors: {
  custom: {
    50: '#7fa460',
    500: '#477e1d',
    950: '#000000',
  },
}
SCSS
$custom: #477e1d;
$custom-light: #7fa460;
$custom-dark: #000000;
JSON
{
  "hex": "#477e1d",
  "rgb": {
    "r": 71,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 94.021,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53504,
    "c": 0.13946,
    "h": 134.9
  },
  "luminance": 0.1635
}

Semantic roles & 50–950 ramp

primary
#477E1D
secondary
#8345B1
accent
#42E69F
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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