#477221#477221

#477221 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.3% C 0.120 H 133.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#477221
RGBrgb(71, 114, 33)
HSLhsl(92, 55%, 29%)
HSVhsv(92, 71%, 45%)
CMYKcmyk(37.7%, 0%, 71.1%, 55.3%)
CIE-LABlab(43.48, -29.43, 38.53)
CIE-LCHlch(43.48, 48.48, 127.37°)
OKLaboklab(50.29% -0.0825 0.0877)
OKLCHoklch(50.29% 0.12 133.2)
XYZxyz(8.8902, 13.4836, 3.5727)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477221 #4C2172
analogous
#707221 #477221 #217224
triadic
#477221 #214772 #722147
tetradic
#477221 #217072 #4C2172 #722421
square
#477221 #217072 #4C2172 #722421
split-complementary
#477221 #242172 #722170
monochromatic
#0F1807 #294313 #477221 #65A12F #83C944

Accessibility & contrast

On white

5.68
#477221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#477221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477221
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477221#FFFFFF#000000##FFFFFF
##4772211.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776915
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#476D62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #477221;
/* rgb */ color: rgb(71, 114, 33);
/* oklch */ color: oklch(50.3% 0.120 133.2);
Tailwind
colors: {
  custom: {
    50: '#7e9b61',
    500: '#477221',
    950: '#000000',
  },
}
SCSS
$custom: #477221;
$custom-light: #7e9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#477221",
  "rgb": {
    "r": 71,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 91.852,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50286,
    "c": 0.1204,
    "h": 133.2
  },
  "luminance": 0.13484
}

Semantic roles & 50–950 ramp

primary
#477221
secondary
#7A49A5
accent
#49DE99
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #477221

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

Preview Lab → · Contrast checker → · Palette generator →

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