#477A2A#477A2A

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

Color values

HEX#477A2A
RGBrgb(71, 122, 42)
HSLhsl(98, 49%, 32%)
HSVhsv(98, 66%, 48%)
CMYKcmyk(41.8%, 0%, 65.6%, 52.2%)
CIE-LABlab(46.21, -32.30, 37.39)
CIE-LCHlch(46.21, 49.41, 130.82°)
OKLaboklab(52.54% -0.0896 0.0865)
OKLCHoklch(52.54% 0.125 136)
XYZxyz(9.9757, 15.4253, 4.6418)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477A2A #5D2A7A
analogous
#6F7A2A #477A2A #2A7A35
triadic
#477A2A #2A477A #7A2A47
tetradic
#477A2A #2A6F7A #5D2A7A #7A352A
square
#477A2A #2A6F7A #5D2A7A #7A352A
split-complementary
#477A2A #352A7A #7A2A6F
monochromatic
#121F0B #2D4C1A #477A2A #61A83A #80C659

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477A2A#FFFFFF#000000##FFFFFF
##477A2A1.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)
#7E7020
Deuteranopia (green-blind)
#776C30
Tritanopia (blue-blind)
#457669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #477a2a;
/* rgb */ color: rgb(71, 122, 42);
/* oklch */ color: oklch(52.5% 0.125 136.0);
Tailwind
colors: {
  custom: {
    50: '#7ea167',
    500: '#477a2a',
    950: '#000000',
  },
}
SCSS
$custom: #477a2a;
$custom-light: #7ea167;
$custom-dark: #000000;
JSON
{
  "hex": "#477a2a",
  "rgb": {
    "r": 71,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 98.25,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5254,
    "c": 0.12453,
    "h": 136
  },
  "luminance": 0.15426
}

Semantic roles & 50–950 ramp

primary
#477A2A
secondary
#8C55AB
accent
#4FD8A7
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #477A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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