#477316#477316

#477316 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.5% C 0.129 H 132.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#477316
RGBrgb(71, 115, 22)
HSLhsl(88, 68%, 27%)
HSVhsv(88, 81%, 45%)
CMYKcmyk(38.3%, 0%, 80.9%, 54.9%)
CIE-LABlab(43.74, -30.67, 43.08)
CIE-LCHlch(43.74, 52.88, 125.45°)
OKLaboklab(50.47% -0.0867 0.0955)
OKLCHoklch(50.47% 0.129 132.2)
XYZxyz(8.8740, 13.6586, 2.9277)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477316 #421673
analogous
#737116 #477316 #197316
triadic
#477316 #164773 #731647
tetradic
#477316 #167371 #421673 #731619
square
#477316 #167371 #421673 #731619
split-complementary
#477316 #161973 #711673
monochromatic
#101A05 #27400C #477316 #67A620 #86D72D

Accessibility & contrast

On white

5.63
#477316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#477316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477316
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477316#FFFFFF#000000##FFFFFF
##4773161.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#486E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #477316;
/* rgb */ color: rgb(71, 115, 22);
/* oklch */ color: oklch(50.5% 0.129 132.2);
Tailwind
colors: {
  custom: {
    50: '#7f9b5c',
    500: '#477316',
    950: '#000000',
  },
}
SCSS
$custom: #477316;
$custom-light: #7f9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#477316",
  "rgb": {
    "r": 71,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 88.387,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50471,
    "c": 0.129,
    "h": 132.2
  },
  "luminance": 0.13659
}

Semantic roles & 50–950 ramp

primary
#477316
secondary
#6F3CA9
accent
#3DEB8F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477316

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

Preview Lab → · Contrast checker → · Palette generator →

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