#477F13#477F13

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

Color values

HEX#477F13
RGBrgb(71, 127, 19)
HSLhsl(91, 74%, 29%)
HSVhsv(91, 85%, 50%)
CMYKcmyk(44.1%, 0%, 85%, 50.2%)
CIE-LABlab(47.71, -36.18, 47.67)
CIE-LCHlch(47.71, 59.84, 127.20°)
OKLaboklab(53.72% -0.1017 0.1047)
OKLCHoklch(53.72% 0.146 134.2)
XYZxyz(10.3053, 16.5648, 3.2703)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477F13 #4B137F
analogous
#7D7F13 #477F13 #137F15
triadic
#477F13 #13477F #7F1347
tetradic
#477F13 #137D7F #4B137F #7F1513
square
#477F13 #137D7F #4B137F #7F1513
split-complementary
#477F13 #15137F #7F137D
monochromatic
#0F1B04 #294A0B #477F13 #65B41B #83E02D

Accessibility & contrast

On white

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

On black

4.31
#477F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##477F13#FFFFFF#000000##FFFFFF
##477F131.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #477f13;
/* rgb */ color: rgb(71, 127, 19);
/* oklch */ color: oklch(53.7% 0.146 134.2);
Tailwind
colors: {
  custom: {
    50: '#80a45c',
    500: '#477f13',
    950: '#000000',
  },
}
SCSS
$custom: #477f13;
$custom-light: #80a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#477f13",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 91.111,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53715,
    "c": 0.14597,
    "h": 134.2
  },
  "luminance": 0.16565
}

Semantic roles & 50–950 ramp

primary
#477F13
secondary
#7939B4
accent
#37F197
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477F13

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

Preview Lab → · Contrast checker → · Palette generator →

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