#477E21#477E21

#477E21 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.5% C 0.137 H 135.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#477E21
RGBrgb(71, 126, 33)
HSLhsl(95, 58%, 31%)
HSVhsv(95, 74%, 49%)
CMYKcmyk(43.7%, 0%, 73.8%, 50.6%)
CIE-LABlab(47.46, -34.88, 42.63)
CIE-LCHlch(47.46, 55.08, 129.29°)
OKLaboklab(53.54% -0.0973 0.0963)
OKLCHoklch(53.54% 0.137 135.3)
XYZxyz(10.3337, 16.3705, 4.0539)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477E21 #58217E
analogous
#757E21 #477E21 #217E29
triadic
#477E21 #21477E #7E2147
tetradic
#477E21 #21757E #58217E #7E2921
square
#477E21 #21757E #58217E #7E2921
split-complementary
#477E21 #29217E #7E2175
monochromatic
#101D08 #2C4E14 #477E21 #62AE2E #80D04A

Accessibility & contrast

On white

4.91
#477E21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#477E21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477E21
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477E21#FFFFFF#000000##FFFFFF
##477E211.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837311
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#46796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #477e21;
/* rgb */ color: rgb(71, 126, 33);
/* oklch */ color: oklch(53.5% 0.137 135.3);
Tailwind
colors: {
  custom: {
    50: '#7fa463',
    500: '#477e21',
    950: '#000000',
  },
}
SCSS
$custom: #477e21;
$custom-light: #7fa463;
$custom-dark: #000000;
JSON
{
  "hex": "#477e21",
  "rgb": {
    "r": 71,
    "g": 126,
    "b": 33
  },
  "hsl": {
    "h": 95.484,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53535,
    "c": 0.13688,
    "h": 135.3
  },
  "luminance": 0.16371
}

Semantic roles & 50–950 ramp

primary
#477E21
secondary
#874AB1
accent
#46E2A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #477E21

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

Preview Lab → · Contrast checker → · Palette generator →

#477E21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva