#477C2B#477C2B

#477C2B is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.1% C 0.127 H 136.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#477C2B
RGBrgb(71, 124, 43)
HSLhsl(99, 49%, 33%)
HSVhsv(99, 65%, 49%)
CMYKcmyk(42.7%, 0%, 65.3%, 51.4%)
CIE-LABlab(46.88, -33.11, 37.67)
CIE-LCHlch(46.88, 50.15, 131.31°)
OKLaboklab(53.09% -0.0917 0.0872)
OKLCHoklch(53.09% 0.127 136.4)
XYZxyz(10.2420, 15.9287, 4.8199)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477C2B #602B7C
analogous
#707C2B #477C2B #2B7C37
triadic
#477C2B #2B477C #7C2B47
tetradic
#477C2B #2B707C #602B7C #7C372B
square
#477C2B #2B707C #602B7C #7C372B
split-complementary
#477C2B #372B7C #7C2B70
monochromatic
#13210B #2D4F1B #477C2B #61A93B #80C65B

Accessibility & contrast

On white

5.02
#477C2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#477C2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477C2B
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477C2B#FFFFFF#000000##FFFFFF
##477C2B1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807221
Deuteranopia (green-blind)
#796D32
Tritanopia (blue-blind)
#45786B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #477c2b;
/* rgb */ color: rgb(71, 124, 43);
/* oklch */ color: oklch(53.1% 0.127 136.4);
Tailwind
colors: {
  custom: {
    50: '#7ea268',
    500: '#477c2b',
    950: '#000000',
  },
}
SCSS
$custom: #477c2b;
$custom-light: #7ea268;
$custom-dark: #000000;
JSON
{
  "hex": "#477c2b",
  "rgb": {
    "r": 71,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 99.259,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53091,
    "c": 0.12654,
    "h": 136.4
  },
  "luminance": 0.15929
}

Semantic roles & 50–950 ramp

primary
#477C2B
secondary
#8F57AC
accent
#50D8A9
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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