#477D16#477D16

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

Color values

HEX#477D16
RGBrgb(71, 125, 22)
HSLhsl(91, 70%, 29%)
HSVhsv(91, 82%, 49%)
CMYKcmyk(43.2%, 0%, 82.4%, 51%)
CIE-LABlab(47.06, -35.16, 46.19)
CIE-LCHlch(47.06, 58.05, 127.28°)
OKLaboklab(53.19% -0.0988 0.102)
OKLCHoklch(53.19% 0.142 134.1)
XYZxyz(10.0768, 16.0642, 3.3286)
Luminance0.1606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477D16 #4C167D
analogous
#7B7D16 #477D16 #167D18
triadic
#477D16 #16477D #7D1647
tetradic
#477D16 #167B7D #4C167D #7D1816
square
#477D16 #167B7D #4C167D #7D1816
split-complementary
#477D16 #18167D #7D167B
monochromatic
#0F1A05 #29490D #477D16 #65B11F #83DB32

Accessibility & contrast

On white

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

On black

4.21
#477D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##477D16#FFFFFF#000000##FFFFFF
##477D161.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#46786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #477d16;
/* rgb */ color: rgb(71, 125, 22);
/* oklch */ color: oklch(53.2% 0.142 134.1);
Tailwind
colors: {
  custom: {
    50: '#80a35d',
    500: '#477d16',
    950: '#000000',
  },
}
SCSS
$custom: #477d16;
$custom-light: #80a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#477d16",
  "rgb": {
    "r": 71,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 91.456,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53188,
    "c": 0.14203,
    "h": 134.1
  },
  "luminance": 0.16065
}

Semantic roles & 50–950 ramp

primary
#477D16
secondary
#7A3DB2
accent
#3BED98
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477D16

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

Preview Lab → · Contrast checker → · Palette generator →

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