#477D19#477D19

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

Color values

HEX#477D19
RGBrgb(71, 125, 25)
HSLhsl(92, 67%, 29%)
HSVhsv(92, 80%, 49%)
CMYKcmyk(43.2%, 0%, 80%, 51%)
CIE-LABlab(47.07, -34.99, 45.22)
CIE-LCHlch(47.07, 57.17, 127.73°)
OKLaboklab(53.21% -0.0981 0.1005)
OKLCHoklch(53.21% 0.14 134.3)
XYZxyz(10.1074, 16.0765, 3.4900)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477D19 #4F197D
analogous
#797D19 #477D19 #197D1D
triadic
#477D19 #19477D #7D1947
tetradic
#477D19 #19797D #4F197D #7D1D19
square
#477D19 #19797D #4F197D #7D1D19
split-complementary
#477D19 #1D197D #7D1979
monochromatic
#0E1A05 #2A4A0F #477D19 #64B023 #82D739

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477D19#FFFFFF#000000##FFFFFF
##477D191.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)
#827200
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#46786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #477d19;
/* rgb */ color: rgb(71, 125, 25);
/* oklch */ color: oklch(53.2% 0.140 134.3);
Tailwind
colors: {
  custom: {
    50: '#80a35e',
    500: '#477d19',
    950: '#000000',
  },
}
SCSS
$custom: #477d19;
$custom-light: #80a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#477d19",
  "rgb": {
    "r": 71,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 92.4,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53206,
    "c": 0.14046,
    "h": 134.3
  },
  "luminance": 0.16077
}

Semantic roles & 50–950 ramp

primary
#477D19
secondary
#7D40B1
accent
#3EEA9B
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477D19

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

Preview Lab → · Contrast checker → · Palette generator →

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