#477C20#477C20

#477C20 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.0% C 0.135 H 134.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#477C20
RGBrgb(71, 124, 32)
HSLhsl(95, 59%, 31%)
HSVhsv(95, 74%, 49%)
CMYKcmyk(42.7%, 0%, 74.2%, 51.4%)
CIE-LABlab(46.79, -34.07, 42.35)
CIE-LCHlch(46.79, 54.35, 128.82°)
OKLaboklab(52.99% -0.0952 0.0956)
OKLCHoklch(52.99% 0.135 134.9)
XYZxyz(10.0667, 15.8586, 3.8968)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477C20 #55207C
analogous
#757C20 #477C20 #207C27
triadic
#477C20 #20477C #7C2047
tetradic
#477C20 #20757C #55207C #7C2720
square
#477C20 #20757C #55207C #7C2720
split-complementary
#477C20 #27207C #7C2075
monochromatic
#0F1B07 #2B4B13 #477C20 #63AD2D #81CF47

Accessibility & contrast

On white

5.03
#477C20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#477C20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477C20
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477C20#FFFFFF#000000##FFFFFF
##477C201.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817210
Deuteranopia (green-blind)
#7A6D29
Tritanopia (blue-blind)
#46776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #477c20;
/* rgb */ color: rgb(71, 124, 32);
/* oklch */ color: oklch(53.0% 0.135 134.9);
Tailwind
colors: {
  custom: {
    50: '#7fa262',
    500: '#477c20',
    950: '#000000',
  },
}
SCSS
$custom: #477c20;
$custom-light: #7fa262;
$custom-dark: #000000;
JSON
{
  "hex": "#477c20",
  "rgb": {
    "r": 71,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 94.565,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52986,
    "c": 0.13487,
    "h": 134.9
  },
  "luminance": 0.15859
}

Semantic roles & 50–950 ramp

primary
#477C20
secondary
#8449AF
accent
#46E2A0
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #477C20

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

Preview Lab → · Contrast checker → · Palette generator →

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