#477E22#477E22

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

Color values

HEX#477E22
RGBrgb(71, 126, 34)
HSLhsl(96, 58%, 31%)
HSVhsv(96, 73%, 49%)
CMYKcmyk(43.7%, 0%, 73%, 50.6%)
CIE-LABlab(47.46, -34.80, 42.23)
CIE-LCHlch(47.46, 54.72, 129.49°)
OKLaboklab(53.54% -0.097 0.0956)
OKLCHoklch(53.54% 0.136 135.4)
XYZxyz(10.3479, 16.3762, 4.1287)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477E22 #59227E
analogous
#757E22 #477E22 #227E2B
triadic
#477E22 #22477E #7E2247
tetradic
#477E22 #22757E #59227E #7E2B22
square
#477E22 #22757E #59227E #7E2B22
split-complementary
#477E22 #2B227E #7E2275
monochromatic
#111E08 #2C4E15 #477E22 #62AE2F #80CF4C

Accessibility & contrast

On white

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

On black

4.28
#477E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##477E22#FFFFFF#000000##FFFFFF
##477E221.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837313
Deuteranopia (green-blind)
#7B6F2B
Tritanopia (blue-blind)
#45796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #477e22;
/* rgb */ color: rgb(71, 126, 34);
/* oklch */ color: oklch(53.5% 0.136 135.4);
Tailwind
colors: {
  custom: {
    50: '#7fa463',
    500: '#477e22',
    950: '#000000',
  },
}
SCSS
$custom: #477e22;
$custom-light: #7fa463;
$custom-dark: #000000;
JSON
{
  "hex": "#477e22",
  "rgb": {
    "r": 71,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 95.87,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53544,
    "c": 0.1362,
    "h": 135.4
  },
  "luminance": 0.16377
}

Semantic roles & 50–950 ramp

primary
#477E22
secondary
#884BB1
accent
#47E1A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #477E22

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

Preview Lab → · Contrast checker → · Palette generator →

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