#477D1C#477D1C

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

Color values

HEX#477D1C
RGBrgb(71, 125, 28)
HSLhsl(93, 63%, 30%)
HSVhsv(93, 78%, 49%)
CMYKcmyk(43.2%, 0%, 77.6%, 51%)
CIE-LABlab(47.09, -34.80, 44.18)
CIE-LCHlch(47.09, 56.24, 128.23°)
OKLaboklab(53.23% -0.0974 0.0988)
OKLCHoklch(53.23% 0.139 134.6)
XYZxyz(10.1415, 16.0901, 3.6697)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477D1C #521C7D
analogous
#787D1C #477D1C #1C7D21
triadic
#477D1C #1C477D #7D1C47
tetradic
#477D1C #1C787D #521C7D #7D211C
square
#477D1C #1C787D #521C7D #7D211C
split-complementary
#477D1C #211C7D #7D1C78
monochromatic
#0E1906 #2B4B11 #477D1C #63AF27 #81D43F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477D1C#FFFFFF#000000##FFFFFF
##477D1C1.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)
#827207
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#46786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #477d1c;
/* rgb */ color: rgb(71, 125, 28);
/* oklch */ color: oklch(53.2% 0.139 134.6);
Tailwind
colors: {
  custom: {
    50: '#7fa360',
    500: '#477d1c',
    950: '#000000',
  },
}
SCSS
$custom: #477d1c;
$custom-light: #7fa360;
$custom-dark: #000000;
JSON
{
  "hex": "#477d1c",
  "rgb": {
    "r": 71,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 93.402,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.53226,
    "c": 0.13874,
    "h": 134.6
  },
  "luminance": 0.16091
}

Semantic roles & 50–950 ramp

primary
#477D1C
secondary
#8144B1
accent
#41E69D
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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