#477A20#477A20

#477A20 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.4% C 0.132 H 134.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#477A20
RGBrgb(71, 122, 32)
HSLhsl(94, 58%, 30%)
HSVhsv(94, 74%, 48%)
CMYKcmyk(41.8%, 0%, 73.8%, 52.2%)
CIE-LABlab(46.13, -33.18, 41.68)
CIE-LCHlch(46.13, 53.27, 128.53°)
OKLaboklab(52.44% -0.0927 0.0942)
OKLCHoklch(52.44% 0.132 134.6)
XYZxyz(9.8186, 15.3624, 3.8141)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477A20 #53207A
analogous
#747A20 #477A20 #207A26
triadic
#477A20 #20477A #7A2047
tetradic
#477A20 #20747A #53207A #7A2620
square
#477A20 #20747A #53207A #7A2620
split-complementary
#477A20 #26207A #7A2074
monochromatic
#0F1907 #2B4A13 #477A20 #63AA2D #81CE46

Accessibility & contrast

On white

5.16
#477A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#477A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477A20
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477A20#FFFFFF#000000##FFFFFF
##477A201.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7011
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#467568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #477a20;
/* rgb */ color: rgb(71, 122, 32);
/* oklch */ color: oklch(52.4% 0.132 134.6);
Tailwind
colors: {
  custom: {
    50: '#7fa162',
    500: '#477a20',
    950: '#000000',
  },
}
SCSS
$custom: #477a20;
$custom-light: #7fa162;
$custom-dark: #000000;
JSON
{
  "hex": "#477a20",
  "rgb": {
    "r": 71,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 94,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52444,
    "c": 0.13217,
    "h": 134.6
  },
  "luminance": 0.15363
}

Semantic roles & 50–950 ramp

primary
#477A20
secondary
#8249AD
accent
#46E29E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0F05
muted
#7C7E7A

Preview Lab

Preview with #477A20

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

Preview Lab → · Contrast checker → · Palette generator →

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