#477A17#477A17

#477A17 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.4% C 0.138 H 133.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#477A17
RGBrgb(71, 122, 23)
HSLhsl(91, 68%, 28%)
HSVhsv(91, 81%, 48%)
CMYKcmyk(41.8%, 0%, 81.1%, 52.2%)
CIE-LABlab(46.07, -33.78, 44.94)
CIE-LCHlch(46.07, 56.22, 126.93°)
OKLaboklab(52.38% -0.095 0.0996)
OKLCHoklch(52.38% 0.138 133.7)
XYZxyz(9.7126, 15.3200, 3.2557)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477A17 #4A177A
analogous
#787A17 #477A17 #177A18
triadic
#477A17 #17477A #7A1747
tetradic
#477A17 #17787A #4A177A #7A1817
square
#477A17 #17787A #4A177A #7A1817
split-complementary
#477A17 #18177A #7A1778
monochromatic
#0F1A05 #29470D #477A17 #65AD21 #83D933

Accessibility & contrast

On white

5.17
#477A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#477A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477A17
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477A17#FFFFFF#000000##FFFFFF
##477A171.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#786C22
Tritanopia (blue-blind)
#477568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #477a17;
/* rgb */ color: rgb(71, 122, 23);
/* oklch */ color: oklch(52.4% 0.138 133.7);
Tailwind
colors: {
  custom: {
    50: '#7fa15d',
    500: '#477a17',
    950: '#000000',
  },
}
SCSS
$custom: #477a17;
$custom-light: #7fa15d;
$custom-dark: #000000;
JSON
{
  "hex": "#477a17",
  "rgb": {
    "r": 71,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 90.909,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52379,
    "c": 0.13765,
    "h": 133.7
  },
  "luminance": 0.15321
}

Semantic roles & 50–950 ramp

primary
#477A17
secondary
#783EAF
accent
#3DEB97
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #477A17

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

Preview Lab → · Contrast checker → · Palette generator →

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