#477D15#477D15

#477D15 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.2% C 0.143 H 134.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#477D15
RGBrgb(71, 125, 21)
HSLhsl(91, 71%, 29%)
HSVhsv(91, 83%, 49%)
CMYKcmyk(43.2%, 0%, 83.2%, 51%)
CIE-LABlab(47.05, -35.21, 46.49)
CIE-LCHlch(47.05, 58.32, 127.14°)
OKLaboklab(53.18% -0.099 0.1025)
OKLCHoklch(53.18% 0.143 134)
XYZxyz(10.0673, 16.0604, 3.2788)
Luminance0.1606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477D15 #4B157D
analogous
#7B7D15 #477D15 #157D17
triadic
#477D15 #15477D #7D1547
tetradic
#477D15 #157B7D #4B157D #7D1715
square
#477D15 #157B7D #4B157D #7D1715
split-complementary
#477D15 #17157D #7D157B
monochromatic
#0F1A04 #29490C #477D15 #65B11E #83DC30

Accessibility & contrast

On white

4.99
#477D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#477D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477D15
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477D15#FFFFFF#000000##FFFFFF
##477D151.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#46786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #477d15;
/* rgb */ color: rgb(71, 125, 21);
/* oklch */ color: oklch(53.2% 0.143 134.0);
Tailwind
colors: {
  custom: {
    50: '#80a35d',
    500: '#477d15',
    950: '#000000',
  },
}
SCSS
$custom: #477d15;
$custom-light: #80a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#477d15",
  "rgb": {
    "r": 71,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 91.154,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53182,
    "c": 0.14252,
    "h": 134
  },
  "luminance": 0.16061
}

Semantic roles & 50–950 ramp

primary
#477D15
secondary
#793CB2
accent
#3AEE97
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477D15

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

Preview Lab → · Contrast checker → · Palette generator →

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