#477D1D#477D1D

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

Color values

HEX#477D1D
RGBrgb(71, 125, 29)
HSLhsl(94, 62%, 30%)
HSVhsv(94, 77%, 49%)
CMYKcmyk(43.2%, 0%, 76.8%, 51%)
CIE-LABlab(47.10, -34.73, 43.81)
CIE-LCHlch(47.10, 55.91, 128.40°)
OKLaboklab(53.23% -0.0972 0.0982)
OKLCHoklch(53.23% 0.138 134.7)
XYZxyz(10.1537, 16.0950, 3.7338)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477D1D #531D7D
analogous
#777D1D #477D1D #1D7D23
triadic
#477D1D #1D477D #7D1D47
tetradic
#477D1D #1D777D #531D7D #7D231D
square
#477D1D #1D777D #531D7D #7D231D
split-complementary
#477D1D #231D7D #7D1D77
monochromatic
#0F1A06 #2B4B11 #477D1D #63AF29 #81D341

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #477d1d;
/* rgb */ color: rgb(71, 125, 29);
/* oklch */ color: oklch(53.2% 0.138 134.7);
Tailwind
colors: {
  custom: {
    50: '#7fa360',
    500: '#477d1d',
    950: '#000000',
  },
}
SCSS
$custom: #477d1d;
$custom-light: #7fa360;
$custom-dark: #000000;
JSON
{
  "hex": "#477d1d",
  "rgb": {
    "r": 71,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 93.75,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53233,
    "c": 0.13814,
    "h": 134.7
  },
  "luminance": 0.16096
}

Semantic roles & 50–950 ramp

primary
#477D1D
secondary
#8245B1
accent
#42E59E
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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