#477417#477417

#477417 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.7% C 0.130 H 132.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#477417
RGBrgb(71, 116, 23)
HSLhsl(89, 67%, 27%)
HSVhsv(89, 80%, 45%)
CMYKcmyk(38.8%, 0%, 80.2%, 54.5%)
CIE-LABlab(44.08, -31.07, 43.06)
CIE-LCHlch(44.08, 53.10, 125.81°)
OKLaboklab(50.75% -0.0877 0.0956)
OKLCHoklch(50.75% 0.13 132.5)
XYZxyz(8.9985, 13.8918, 3.0177)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477417 #441774
analogous
#747217 #477417 #197417
triadic
#477417 #174774 #741747
tetradic
#477417 #177472 #441774 #741719
square
#477417 #177472 #441774 #741719
split-complementary
#477417 #171974 #721774
monochromatic
#101A05 #28410D #477417 #66A721 #85D630

Accessibility & contrast

On white

5.56
#477417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#477417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477417
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477417#FFFFFF#000000##FFFFFF
##4774171.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A01
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#486F63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #477417;
/* rgb */ color: rgb(71, 116, 23);
/* oklch */ color: oklch(50.7% 0.130 132.5);
Tailwind
colors: {
  custom: {
    50: '#7f9c5c',
    500: '#477417',
    950: '#000000',
  },
}
SCSS
$custom: #477417;
$custom-light: #7f9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#477417",
  "rgb": {
    "r": 71,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 89.032,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50749,
    "c": 0.12978,
    "h": 132.5
  },
  "luminance": 0.13892
}

Semantic roles & 50–950 ramp

primary
#477417
secondary
#723DA9
accent
#3EEA91
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477417

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

Preview Lab → · Contrast checker → · Palette generator →

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