#477220#477220

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

Color values

HEX#477220
RGBrgb(71, 114, 32)
HSLhsl(91, 56%, 29%)
HSVhsv(91, 72%, 45%)
CMYKcmyk(37.7%, 0%, 71.9%, 55.3%)
CIE-LABlab(43.48, -29.51, 38.95)
CIE-LCHlch(43.48, 48.87, 127.15°)
OKLaboklab(50.28% -0.0828 0.0885)
OKLCHoklch(50.28% 0.121 133.1)
XYZxyz(8.8764, 13.4781, 3.5001)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477220 #4B2072
analogous
#707220 #477220 #207222
triadic
#477220 #204772 #722047
tetradic
#477220 #207072 #4B2072 #722220
square
#477220 #207072 #4B2072 #722220
split-complementary
#477220 #222072 #722070
monochromatic
#0F1807 #294213 #477220 #65A22D #83CA42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477220#FFFFFF#000000##FFFFFF
##4772201.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)
#776914
Deuteranopia (green-blind)
#716527
Tritanopia (blue-blind)
#476D62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #477220;
/* rgb */ color: rgb(71, 114, 32);
/* oklch */ color: oklch(50.3% 0.121 133.1);
Tailwind
colors: {
  custom: {
    50: '#7e9b61',
    500: '#477220',
    950: '#000000',
  },
}
SCSS
$custom: #477220;
$custom-light: #7e9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#477220",
  "rgb": {
    "r": 71,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 91.463,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50277,
    "c": 0.12115,
    "h": 133.1
  },
  "luminance": 0.13479
}

Semantic roles & 50–950 ramp

primary
#477220
secondary
#7948A6
accent
#48DF98
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #477220

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

Preview Lab → · Contrast checker → · Palette generator →

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