#477B16#477B16

#477B16 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.6% C 0.139 H 133.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#477B16
RGBrgb(71, 123, 22)
HSLhsl(91, 70%, 28%)
HSVhsv(91, 82%, 48%)
CMYKcmyk(42.3%, 0%, 82.1%, 51.8%)
CIE-LABlab(46.40, -34.28, 45.57)
CIE-LCHlch(46.40, 57.02, 126.95°)
OKLaboklab(52.64% -0.0964 0.1007)
OKLCHoklch(52.64% 0.139 133.8)
XYZxyz(9.8261, 15.5629, 3.2451)
Luminance0.1556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477B16 #4A167B
analogous
#797B16 #477B16 #167B17
triadic
#477B16 #16477B #7B1647
tetradic
#477B16 #16797B #4A167B #7B1716
square
#477B16 #16797B #4A167B #7B1716
split-complementary
#477B16 #17167B #7B1679
monochromatic
#0F1A05 #29470D #477B16 #65AF1F #83DA31

Accessibility & contrast

On white

5.11
#477B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#477B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477B16
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477B16#FFFFFF#000000##FFFFFF
##477B161.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#477668
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #477b16;
/* rgb */ color: rgb(71, 123, 22);
/* oklch */ color: oklch(52.6% 0.139 133.8);
Tailwind
colors: {
  custom: {
    50: '#7fa15d',
    500: '#477b16',
    950: '#000000',
  },
}
SCSS
$custom: #477b16;
$custom-light: #7fa15d;
$custom-dark: #000000;
JSON
{
  "hex": "#477b16",
  "rgb": {
    "r": 71,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 90.891,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52644,
    "c": 0.13947,
    "h": 133.8
  },
  "luminance": 0.15563
}

Semantic roles & 50–950 ramp

primary
#477B16
secondary
#783DB0
accent
#3BEC97
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477B16

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

Preview Lab → · Contrast checker → · Palette generator →

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