#477D27#477D27

#477D27 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.3% C 0.131 H 135.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#477D27
RGBrgb(71, 125, 39)
HSLhsl(98, 52%, 32%)
HSVhsv(98, 69%, 49%)
CMYKcmyk(43.2%, 0%, 68.8%, 51%)
CIE-LABlab(47.17, -33.94, 39.80)
CIE-LCHlch(47.17, 52.31, 130.45°)
OKLaboklab(53.32% -0.0942 0.0912)
OKLCHoklch(53.32% 0.131 135.9)
XYZxyz(10.2981, 16.1527, 4.4942)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477D27 #5D277D
analogous
#727D27 #477D27 #277D32
triadic
#477D27 #27477D #7D2747
tetradic
#477D27 #27727D #5D277D #7D3227
square
#477D27 #27727D #5D277D #7D3227
split-complementary
#477D27 #32277D #7D2772
monochromatic
#12200A #2D4E18 #477D27 #61AC36 #80CA55

Accessibility & contrast

On white

4.96
#477D27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#477D27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477D27
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477D27#FFFFFF#000000##FFFFFF
##477D271.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81731B
Deuteranopia (green-blind)
#7A6E2E
Tritanopia (blue-blind)
#45786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #477d27;
/* rgb */ color: rgb(71, 125, 39);
/* oklch */ color: oklch(53.3% 0.131 135.9);
Tailwind
colors: {
  custom: {
    50: '#7fa366',
    500: '#477d27',
    950: '#000000',
  },
}
SCSS
$custom: #477d27;
$custom-light: #7fa366;
$custom-dark: #000000;
JSON
{
  "hex": "#477d27",
  "rgb": {
    "r": 71,
    "g": 125,
    "b": 39
  },
  "hsl": {
    "h": 97.674,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53319,
    "c": 0.13117,
    "h": 135.9
  },
  "luminance": 0.16153
}

Semantic roles & 50–950 ramp

primary
#477D27
secondary
#8C51AF
accent
#4CDCA6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477D27

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

Preview Lab → · Contrast checker → · Palette generator →

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