#477A2C#477A2C

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

Color values

HEX#477A2C
RGBrgb(71, 122, 44)
HSLhsl(99, 47%, 33%)
HSVhsv(99, 64%, 48%)
CMYKcmyk(41.8%, 0%, 63.9%, 52.2%)
CIE-LABlab(46.23, -32.10, 36.47)
CIE-LCHlch(46.23, 48.58, 131.35°)
OKLaboklab(52.56% -0.0888 0.0848)
OKLCHoklch(52.56% 0.123 136.3)
XYZxyz(10.0124, 15.4400, 4.8350)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477A2C #5F2C7A
analogous
#6E7A2C #477A2C #2C7A38
triadic
#477A2C #2C477A #7A2C47
tetradic
#477A2C #2C6E7A #5F2C7A #7A382C
square
#477A2C #2C6E7A #5F2C7A #7A382C
split-complementary
#477A2C #382C7A #7A2C6E
monochromatic
#13200C #2D4D1C #477A2C #61A73C #80C45C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477A2C#FFFFFF#000000##FFFFFF
##477A2C1.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)
#7E7023
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#457669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #477a2c;
/* rgb */ color: rgb(71, 122, 44);
/* oklch */ color: oklch(52.6% 0.123 136.3);
Tailwind
colors: {
  custom: {
    50: '#7ea168',
    500: '#477a2c',
    950: '#000000',
  },
}
SCSS
$custom: #477a2c;
$custom-light: #7ea168;
$custom-dark: #000000;
JSON
{
  "hex": "#477a2c",
  "rgb": {
    "r": 71,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 99.231,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52563,
    "c": 0.12282,
    "h": 136.3
  },
  "luminance": 0.15441
}

Semantic roles & 50–950 ramp

primary
#477A2C
secondary
#8E57AA
accent
#51D7A8
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #477A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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