#477F16#477F16

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

Color values

HEX#477F16
RGBrgb(71, 127, 22)
HSLhsl(92, 70%, 29%)
HSVhsv(92, 83%, 50%)
CMYKcmyk(44.1%, 0%, 82.7%, 50.2%)
CIE-LABlab(47.72, -36.03, 46.80)
CIE-LCHlch(47.72, 59.06, 127.59°)
OKLaboklab(53.73% -0.1011 0.1033)
OKLCHoklch(53.73% 0.145 134.4)
XYZxyz(10.3325, 16.5757, 3.4139)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477F16 #4E167F
analogous
#7C7F16 #477F16 #167F1A
triadic
#477F16 #16477F #7F1647
tetradic
#477F16 #167C7F #4E167F #7F1A16
square
#477F16 #167C7F #4E167F #7F1A16
split-complementary
#477F16 #1A167F #7F167C
monochromatic
#0F1A05 #2A4B0D #477F16 #64B31F #82DC34

Accessibility & contrast

On white

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

On black

4.32
#477F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##477F16#FFFFFF#000000##FFFFFF
##477F161.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #477f16;
/* rgb */ color: rgb(71, 127, 22);
/* oklch */ color: oklch(53.7% 0.145 134.4);
Tailwind
colors: {
  custom: {
    50: '#80a45d',
    500: '#477f16',
    950: '#000000',
  },
}
SCSS
$custom: #477f16;
$custom-light: #80a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#477f16",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 92,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53731,
    "c": 0.14458,
    "h": 134.4
  },
  "luminance": 0.16576
}

Semantic roles & 50–950 ramp

primary
#477F16
secondary
#7C3DB4
accent
#3BED9A
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477F16

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

Preview Lab → · Contrast checker → · Palette generator →

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