#477D2B#477D2B

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

Color values

HEX#477D2B
RGBrgb(71, 125, 43)
HSLhsl(100, 49%, 33%)
HSVhsv(100, 66%, 49%)
CMYKcmyk(43.2%, 0%, 65.6%, 51%)
CIE-LABlab(47.21, -33.56, 38.03)
CIE-LCHlch(47.21, 50.72, 131.43°)
OKLaboklab(53.36% -0.0929 0.088)
OKLCHoklch(53.36% 0.128 136.6)
XYZxyz(10.3679, 16.1807, 4.8619)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477D2B #612B7D
analogous
#707D2B #477D2B #2B7D38
triadic
#477D2B #2B477D #7D2B47
tetradic
#477D2B #2B707D #612B7D #7D382B
square
#477D2B #2B707D #612B7D #7D382B
split-complementary
#477D2B #382B7D #7D2B70
monochromatic
#13220C #2D4F1B #477D2B #61AB3B #80C75C

Accessibility & contrast

On white

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

On black

4.24
#477D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##477D2B#FFFFFF#000000##FFFFFF
##477D2B1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817321
Deuteranopia (green-blind)
#7A6E32
Tritanopia (blue-blind)
#45796C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #477d2b;
/* rgb */ color: rgb(71, 125, 43);
/* oklch */ color: oklch(53.4% 0.128 136.6);
Tailwind
colors: {
  custom: {
    50: '#7fa368',
    500: '#477d2b',
    950: '#000000',
  },
}
SCSS
$custom: #477d2b;
$custom-light: #7fa368;
$custom-dark: #000000;
JSON
{
  "hex": "#477d2b",
  "rgb": {
    "r": 71,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 99.512,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53361,
    "c": 0.12796,
    "h": 136.6
  },
  "luminance": 0.16181
}

Semantic roles & 50–950 ramp

primary
#477D2B
secondary
#8F57AD
accent
#4FD8AA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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