#477F14#477F14

#477F14 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#477F14
RGBrgb(71, 127, 20)
HSLhsl(91, 73%, 29%)
HSVhsv(91, 84%, 50%)
CMYKcmyk(44.1%, 0%, 84.3%, 50.2%)
CIE-LABlab(47.71, -36.13, 47.39)
CIE-LCHlch(47.71, 59.59, 127.32°)
OKLaboklab(53.72% -0.1015 0.1042)
OKLCHoklch(53.72% 0.146 134.2)
XYZxyz(10.3140, 16.5683, 3.3162)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477F14 #4C147F
analogous
#7D7F14 #477F14 #147F17
triadic
#477F14 #14477F #7F1447
tetradic
#477F14 #147D7F #4C147F #7F1714
square
#477F14 #147D7F #4C147F #7F1714
split-complementary
#477F14 #17147F #7F147D
monochromatic
#0F1A04 #294A0C #477F14 #65B41C #83DE2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #477f14;
/* rgb */ color: rgb(71, 127, 20);
/* oklch */ color: oklch(53.7% 0.146 134.2);
Tailwind
colors: {
  custom: {
    50: '#80a45d',
    500: '#477f14',
    950: '#000000',
  },
}
SCSS
$custom: #477f14;
$custom-light: #80a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#477f14",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 91.402,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5372,
    "c": 0.14552,
    "h": 134.2
  },
  "luminance": 0.16569
}

Semantic roles & 50–950 ramp

primary
#477F14
secondary
#7A3BB4
accent
#38EF98
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477F14

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

Preview Lab → · Contrast checker → · Palette generator →

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