#477E2A#477E2A

#477E2A is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.130 H 136.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#477E2A
RGBrgb(71, 126, 42)
HSLhsl(99, 50%, 33%)
HSVhsv(99, 67%, 49%)
CMYKcmyk(43.7%, 0%, 66.7%, 50.6%)
CIE-LABlab(47.53, -34.10, 38.84)
CIE-LCHlch(47.53, 51.69, 131.28°)
OKLaboklab(53.62% -0.0945 0.0896)
OKLCHoklch(53.62% 0.13 136.5)
XYZxyz(10.4770, 16.4279, 4.8089)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477E2A #612A7E
analogous
#717E2A #477E2A #2A7E37
triadic
#477E2A #2A477E #7E2A47
tetradic
#477E2A #2A717E #612A7E #7E372A
square
#477E2A #2A717E #612A7E #7E372A
split-complementary
#477E2A #372A7E #7E2A71
monochromatic
#13220B #2D501B #477E2A #61AC39 #80C85A

Accessibility & contrast

On white

4.90
#477E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#477E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477E2A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477E2A#FFFFFF#000000##FFFFFF
##477E2A1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827420
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#45796D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #477e2a;
/* rgb */ color: rgb(71, 126, 42);
/* oklch */ color: oklch(53.6% 0.130 136.5);
Tailwind
colors: {
  custom: {
    50: '#7fa468',
    500: '#477e2a',
    950: '#000000',
  },
}
SCSS
$custom: #477e2a;
$custom-light: #7fa468;
$custom-dark: #000000;
JSON
{
  "hex": "#477e2a",
  "rgb": {
    "r": 71,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 99.286,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5362,
    "c": 0.1302,
    "h": 136.5
  },
  "luminance": 0.16428
}

Semantic roles & 50–950 ramp

primary
#477E2A
secondary
#8F56AE
accent
#4EDAA9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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