#477A16#477A16

#477A16 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.4% C 0.138 H 133.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#477A16
RGBrgb(71, 122, 22)
HSLhsl(91, 69%, 28%)
HSVhsv(91, 82%, 48%)
CMYKcmyk(41.8%, 0%, 82%, 52.2%)
CIE-LABlab(46.06, -33.84, 45.26)
CIE-LCHlch(46.06, 56.51, 126.78°)
OKLaboklab(52.37% -0.0953 0.1001)
OKLCHoklch(52.37% 0.138 133.6)
XYZxyz(9.7027, 15.3161, 3.2040)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477A16 #49167A
analogous
#797A16 #477A16 #167A17
triadic
#477A16 #16477A #7A1647
tetradic
#477A16 #16797A #49167A #7A1716
square
#477A16 #16797A #49167A #7A1716
split-complementary
#477A16 #17167A #7A1679
monochromatic
#0F1A05 #29460D #477A16 #65AE1F #84DA31

Accessibility & contrast

On white

5.17
#477A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#477A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477A16
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477A16#FFFFFF#000000##FFFFFF
##477A161.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#786C21
Tritanopia (blue-blind)
#477568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #477a16;
/* rgb */ color: rgb(71, 122, 22);
/* oklch */ color: oklch(52.4% 0.138 133.6);
Tailwind
colors: {
  custom: {
    50: '#7fa15d',
    500: '#477a16',
    950: '#000000',
  },
}
SCSS
$custom: #477a16;
$custom-light: #7fa15d;
$custom-dark: #000000;
JSON
{
  "hex": "#477a16",
  "rgb": {
    "r": 71,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 90.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52373,
    "c": 0.13818,
    "h": 133.6
  },
  "luminance": 0.15317
}

Semantic roles & 50–950 ramp

primary
#477A16
secondary
#773DAF
accent
#3CEC96
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #477A16

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

Preview Lab → · Contrast checker → · Palette generator →

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