#477216#477216

#477216 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.2% C 0.128 H 132.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#477216
RGBrgb(71, 114, 22)
HSLhsl(88, 68%, 27%)
HSVhsv(88, 81%, 45%)
CMYKcmyk(37.7%, 0%, 80.7%, 55.3%)
CIE-LABlab(43.41, -30.21, 42.77)
CIE-LCHlch(43.41, 52.36, 125.23°)
OKLaboklab(50.2% -0.0855 0.0949)
OKLCHoklch(50.2% 0.128 132)
XYZxyz(8.7606, 13.4318, 2.8899)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477216 #411672
analogous
#726F16 #477216 #197216
triadic
#477216 #164772 #721647
tetradic
#477216 #16726F #411672 #721619
square
#477216 #16726F #411672 #721619
split-complementary
#477216 #161972 #6F1672
monochromatic
#101A05 #273F0C #477216 #67A520 #87D62C

Accessibility & contrast

On white

5.70
#477216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#477216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477216
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477216#FFFFFF#000000##FFFFFF
##4772161.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#486D61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #477216;
/* rgb */ color: rgb(71, 114, 22);
/* oklch */ color: oklch(50.2% 0.128 132.0);
Tailwind
colors: {
  custom: {
    50: '#7e9b5b',
    500: '#477216',
    950: '#000000',
  },
}
SCSS
$custom: #477216;
$custom-light: #7e9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#477216",
  "rgb": {
    "r": 71,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 88.043,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50199,
    "c": 0.12767,
    "h": 132
  },
  "luminance": 0.13432
}

Semantic roles & 50–950 ramp

primary
#477216
secondary
#6E3CA8
accent
#3DEB8E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477216

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

Preview Lab → · Contrast checker → · Palette generator →

#477216 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva