#477E17#477E17

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

Color values

HEX#477E17
RGBrgb(71, 126, 23)
HSLhsl(92, 69%, 29%)
HSVhsv(92, 82%, 49%)
CMYKcmyk(43.7%, 0%, 81.7%, 50.6%)
CIE-LABlab(47.39, -35.54, 46.18)
CIE-LCHlch(47.39, 58.27, 127.58°)
OKLaboklab(53.47% -0.0998 0.1022)
OKLCHoklch(53.47% 0.143 134.3)
XYZxyz(10.2138, 16.3226, 3.4228)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477E17 #4E177E
analogous
#7B7E17 #477E17 #177E1B
triadic
#477E17 #17477E #7E1747
tetradic
#477E17 #177B7E #4E177E #7E1B17
square
#477E17 #177B7E #4E177E #7E1B17
split-complementary
#477E17 #1B177E #7E177B
monochromatic
#0F1A05 #2A4A0E #477E17 #64B220 #82DA35

Accessibility & contrast

On white

4.92
#477E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #477E17
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477E17#FFFFFF#000000##FFFFFF
##477E171.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #477e17;
/* rgb */ color: rgb(71, 126, 23);
/* oklch */ color: oklch(53.5% 0.143 134.3);
Tailwind
colors: {
  custom: {
    50: '#80a45e',
    500: '#477e17',
    950: '#000000',
  },
}
SCSS
$custom: #477e17;
$custom-light: #80a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#477e17",
  "rgb": {
    "r": 71,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 92.039,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53465,
    "c": 0.14281,
    "h": 134.3
  },
  "luminance": 0.16323
}

Semantic roles & 50–950 ramp

primary
#477E17
secondary
#7C3EB3
accent
#3CEC9A
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477E17

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

Preview Lab → · Contrast checker → · Palette generator →

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