#477F17#477F17

#477F17 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.7% C 0.144 H 134.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#477F17
RGBrgb(71, 127, 23)
HSLhsl(92, 69%, 29%)
HSVhsv(92, 82%, 50%)
CMYKcmyk(44.1%, 0%, 81.9%, 50.2%)
CIE-LABlab(47.73, -35.97, 46.49)
CIE-LCHlch(47.73, 58.78, 127.73°)
OKLaboklab(53.74% -0.1009 0.1028)
OKLCHoklch(53.74% 0.144 134.5)
XYZxyz(10.3424, 16.5796, 3.4657)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477F17 #4F177F
analogous
#7B7F17 #477F17 #177F1B
triadic
#477F17 #17477F #7F1747
tetradic
#477F17 #177B7F #4F177F #7F1B17
square
#477F17 #177B7F #4F177F #7F1B17
split-complementary
#477F17 #1B177F #7F177B
monochromatic
#0E1A05 #2A4B0E #477F17 #64B320 #82DB36

Accessibility & contrast

On white

4.87
#477F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#477F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477F17
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477F17#FFFFFF#000000##FFFFFF
##477F171.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#467A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #477f17;
/* rgb */ color: rgb(71, 127, 23);
/* oklch */ color: oklch(53.7% 0.144 134.5);
Tailwind
colors: {
  custom: {
    50: '#80a45e',
    500: '#477f17',
    950: '#000000',
  },
}
SCSS
$custom: #477f17;
$custom-light: #80a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#477f17",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 92.308,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53736,
    "c": 0.14409,
    "h": 134.5
  },
  "luminance": 0.1658
}

Semantic roles & 50–950 ramp

primary
#477F17
secondary
#7D3EB4
accent
#3CEC9B
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477F17

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

Preview Lab → · Contrast checker → · Palette generator →

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