#477211#477211

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

Color values

HEX#477211
RGBrgb(71, 114, 17)
HSLhsl(87, 74%, 26%)
HSVhsv(87, 85%, 45%)
CMYKcmyk(37.7%, 0%, 85.1%, 55.3%)
CIE-LABlab(43.38, -30.47, 44.35)
CIE-LCHlch(43.38, 53.81, 124.49°)
OKLaboklab(50.17% -0.0865 0.0974)
OKLCHoklch(50.17% 0.13 131.6)
XYZxyz(8.7169, 13.4143, 2.6601)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477211 #3C1172
analogous
#726C11 #477211 #167211
triadic
#477211 #114772 #721147
tetradic
#477211 #11726C #3C1172 #721116
square
#477211 #11726C #3C1172 #721116
split-complementary
#477211 #111672 #6C1172
monochromatic
#111B04 #263D09 #477211 #68A719 #89DD21

Accessibility & contrast

On white

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

On black

3.68
#477211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##477211#FFFFFF#000000##FFFFFF
##4772111.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#71651C
Tritanopia (blue-blind)
#486D61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #477211;
/* rgb */ color: rgb(71, 114, 17);
/* oklch */ color: oklch(50.2% 0.130 131.6);
Tailwind
colors: {
  custom: {
    50: '#7f9b59',
    500: '#477211',
    950: '#000000',
  },
}
SCSS
$custom: #477211;
$custom-light: #7f9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#477211",
  "rgb": {
    "r": 71,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 86.598,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.5017,
    "c": 0.13024,
    "h": 131.6
  },
  "luminance": 0.13415
}

Semantic roles & 50–950 ramp

primary
#477211
secondary
#6936A9
accent
#37F189
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477211

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

Preview Lab → · Contrast checker → · Palette generator →

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