#477F11#477F11

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

Color values

HEX#477F11
RGBrgb(71, 127, 17)
HSLhsl(91, 76%, 28%)
HSVhsv(91, 87%, 50%)
CMYKcmyk(44.1%, 0%, 86.6%, 50.2%)
CIE-LABlab(47.70, -36.27, 48.21)
CIE-LCHlch(47.70, 60.33, 126.96°)
OKLaboklab(53.71% -0.1021 0.1055)
OKLCHoklch(53.71% 0.147 134.1)
XYZxyz(10.2889, 16.5582, 3.1841)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477F11 #49117F
analogous
#7E7F11 #477F11 #117F12
triadic
#477F11 #11477F #7F1147
tetradic
#477F11 #117E7F #49117F #7F1211
square
#477F11 #117E7F #49117F #7F1211
split-complementary
#477F11 #12117F #7F117E
monochromatic
#0F1B04 #29490A #477F11 #65B518 #84E228

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477F11#FFFFFF#000000##FFFFFF
##477F111.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)
#7D701F
Tritanopia (blue-blind)
#467A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #477f11;
/* rgb */ color: rgb(71, 127, 17);
/* oklch */ color: oklch(53.7% 0.147 134.1);
Tailwind
colors: {
  custom: {
    50: '#80a45c',
    500: '#477f11',
    950: '#000000',
  },
}
SCSS
$custom: #477f11;
$custom-light: #80a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#477f11",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 90.545,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53705,
    "c": 0.1468,
    "h": 134.1
  },
  "luminance": 0.16559
}

Semantic roles & 50–950 ramp

primary
#477F11
secondary
#7737B5
accent
#35F396
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #477F11

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

Preview Lab → · Contrast checker → · Palette generator →

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