#477E16#477E16

#477E16 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.5% C 0.143 H 134.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#477E16
RGBrgb(71, 126, 22)
HSLhsl(92, 70%, 29%)
HSVhsv(92, 83%, 49%)
CMYKcmyk(43.7%, 0%, 82.5%, 50.6%)
CIE-LABlab(47.39, -35.60, 46.49)
CIE-LCHlch(47.39, 58.55, 127.44°)
OKLaboklab(53.46% -0.1 0.1027)
OKLCHoklch(53.46% 0.143 134.2)
XYZxyz(10.2040, 16.3187, 3.3711)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477E16 #4D167E
analogous
#7B7E16 #477E16 #167E19
triadic
#477E16 #16477E #7E1647
tetradic
#477E16 #167B7E #4D167E #7E1916
square
#477E16 #167B7E #4D167E #7E1916
split-complementary
#477E16 #19167E #7E167B
monochromatic
#0F1A05 #2A4A0D #477E16 #64B21F #82DB33

Accessibility & contrast

On white

4.93
#477E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#477E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477E16
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477E16#FFFFFF#000000##FFFFFF
##477E161.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #477e16;
/* rgb */ color: rgb(71, 126, 22);
/* oklch */ color: oklch(53.5% 0.143 134.2);
Tailwind
colors: {
  custom: {
    50: '#80a45d',
    500: '#477e16',
    950: '#000000',
  },
}
SCSS
$custom: #477e16;
$custom-light: #80a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#477e16",
  "rgb": {
    "r": 71,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 91.731,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53459,
    "c": 0.14331,
    "h": 134.2
  },
  "luminance": 0.16319
}

Semantic roles & 50–950 ramp

primary
#477E16
secondary
#7B3DB3
accent
#3BED99
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477E16

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

Preview Lab → · Contrast checker → · Palette generator →

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