#477D22#477D22

#477D22 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.3% C 0.135 H 135.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#477D22
RGBrgb(71, 125, 34)
HSLhsl(96, 57%, 31%)
HSVhsv(96, 73%, 49%)
CMYKcmyk(43.2%, 0%, 72.8%, 51%)
CIE-LABlab(47.13, -34.36, 41.89)
CIE-LCHlch(47.13, 54.18, 129.36°)
OKLaboklab(53.27% -0.0958 0.0949)
OKLCHoklch(53.27% 0.135 135.3)
XYZxyz(10.2206, 16.1218, 4.0863)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477D22 #58227D
analogous
#747D22 #477D22 #227D2A
triadic
#477D22 #22477D #7D2247
tetradic
#477D22 #22747D #58227D #7D2A22
square
#477D22 #22747D #58227D #7D2A22
split-complementary
#477D22 #2A227D #7D2274
monochromatic
#101D08 #2C4D15 #477D22 #62AD2F #80CE4B

Accessibility & contrast

On white

4.97
#477D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#477D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477D22
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477D22#FFFFFF#000000##FFFFFF
##477D221.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827313
Deuteranopia (green-blind)
#7A6E2A
Tritanopia (blue-blind)
#46786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #477d22;
/* rgb */ color: rgb(71, 125, 34);
/* oklch */ color: oklch(53.3% 0.135 135.3);
Tailwind
colors: {
  custom: {
    50: '#7fa363',
    500: '#477d22',
    950: '#000000',
  },
}
SCSS
$custom: #477d22;
$custom-light: #7fa363;
$custom-dark: #000000;
JSON
{
  "hex": "#477d22",
  "rgb": {
    "r": 71,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 95.604,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53273,
    "c": 0.13485,
    "h": 135.3
  },
  "luminance": 0.16122
}

Semantic roles & 50–950 ramp

primary
#477D22
secondary
#874BB0
accent
#47E0A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #477D22

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

Preview Lab → · Contrast checker → · Palette generator →

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