#477A2B#477A2B

#477A2B is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.6% C 0.124 H 136.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#477A2B
RGBrgb(71, 122, 43)
HSLhsl(99, 48%, 32%)
HSVhsv(99, 65%, 48%)
CMYKcmyk(41.8%, 0%, 64.8%, 52.2%)
CIE-LABlab(46.22, -32.20, 36.94)
CIE-LCHlch(46.22, 49.00, 131.08°)
OKLaboklab(52.55% -0.0892 0.0857)
OKLCHoklch(52.55% 0.124 136.2)
XYZxyz(9.9939, 15.4325, 4.7372)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477A2B #5E2B7A
analogous
#6F7A2B #477A2B #2B7A36
triadic
#477A2B #2B477A #7A2B47
tetradic
#477A2B #2B6F7A #5E2B7A #7A362B
square
#477A2B #2B6F7A #5E2B7A #7A362B
split-complementary
#477A2B #362B7A #7A2B6F
monochromatic
#121F0B #2D4D1B #477A2B #61A73B #80C55A

Accessibility & contrast

On white

5.14
#477A2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#477A2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477A2B
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477A2B#FFFFFF#000000##FFFFFF
##477A2B1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7022
Deuteranopia (green-blind)
#776C31
Tritanopia (blue-blind)
#457669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #477a2b;
/* rgb */ color: rgb(71, 122, 43);
/* oklch */ color: oklch(52.6% 0.124 136.2);
Tailwind
colors: {
  custom: {
    50: '#7ea168',
    500: '#477a2b',
    950: '#000000',
  },
}
SCSS
$custom: #477a2b;
$custom-light: #7ea168;
$custom-dark: #000000;
JSON
{
  "hex": "#477a2b",
  "rgb": {
    "r": 71,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 98.734,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52551,
    "c": 0.12368,
    "h": 136.2
  },
  "luminance": 0.15433
}

Semantic roles & 50–950 ramp

primary
#477A2B
secondary
#8D56AB
accent
#50D7A8
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #477A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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