#477217#477217

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

Color values

HEX#477217
RGBrgb(71, 114, 23)
HSLhsl(88, 66%, 27%)
HSVhsv(88, 80%, 45%)
CMYKcmyk(37.7%, 0%, 79.8%, 55.3%)
CIE-LABlab(43.41, -30.15, 42.42)
CIE-LCHlch(43.41, 52.04, 125.40°)
OKLaboklab(50.21% -0.0852 0.0943)
OKLCHoklch(50.21% 0.127 132.1)
XYZxyz(8.7704, 13.4357, 2.9417)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477217 #421772
analogous
#727017 #477217 #197217
triadic
#477217 #174772 #721747
tetradic
#477217 #177270 #421772 #721719
square
#477217 #177270 #421772 #721719
split-complementary
#477217 #171972 #701772
monochromatic
#101905 #273F0D #477217 #67A521 #86D52E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477217#FFFFFF#000000##FFFFFF
##4772171.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)
#776902
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#486D61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #477217;
/* rgb */ color: rgb(71, 114, 23);
/* oklch */ color: oklch(50.2% 0.127 132.1);
Tailwind
colors: {
  custom: {
    50: '#7e9b5c',
    500: '#477217',
    950: '#000000',
  },
}
SCSS
$custom: #477217;
$custom-light: #7e9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#477217",
  "rgb": {
    "r": 71,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 88.352,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50206,
    "c": 0.12711,
    "h": 132.1
  },
  "luminance": 0.13436
}

Semantic roles & 50–950 ramp

primary
#477217
secondary
#6F3DA8
accent
#3EE98F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477217

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

Preview Lab → · Contrast checker → · Palette generator →

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