#477F2A#477F2A

#477F2A is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.9% C 0.132 H 136.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#477F2A
RGBrgb(71, 127, 42)
HSLhsl(100, 50%, 33%)
HSVhsv(100, 67%, 50%)
CMYKcmyk(44.1%, 0%, 66.9%, 50.2%)
CIE-LABlab(47.86, -34.55, 39.20)
CIE-LCHlch(47.86, 52.25, 131.39°)
OKLaboklab(53.89% -0.0957 0.0904)
OKLCHoklch(53.89% 0.132 136.6)
XYZxyz(10.6055, 16.6849, 4.8517)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477F2A #622A7F
analogous
#717F2A #477F2A #2A7F37
triadic
#477F2A #2A477F #7F2A47
tetradic
#477F2A #2A717F #622A7F #7F372A
square
#477F2A #2A717F #622A7F #7F372A
split-complementary
#477F2A #372A7F #7F2A71
monochromatic
#14230C #2D511B #477F2A #61AD39 #80C95B

Accessibility & contrast

On white

4.84
#477F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#477F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477F2A
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477F2A#FFFFFF#000000##FFFFFF
##477F2A1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83751F
Deuteranopia (green-blind)
#7C7031
Tritanopia (blue-blind)
#457A6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #477f2a;
/* rgb */ color: rgb(71, 127, 42);
/* oklch */ color: oklch(53.9% 0.132 136.6);
Tailwind
colors: {
  custom: {
    50: '#7fa468',
    500: '#477f2a',
    950: '#000000',
  },
}
SCSS
$custom: #477f2a;
$custom-light: #7fa468;
$custom-dark: #000000;
JSON
{
  "hex": "#477f2a",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 99.529,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5389,
    "c": 0.1316,
    "h": 136.6
  },
  "luminance": 0.16686
}

Semantic roles & 50–950 ramp

primary
#477F2A
secondary
#9057AE
accent
#4EDAAA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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