#476A32#476A32

#476A32 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.3% C 0.093 H 134.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#476A32
RGBrgb(71, 106, 50)
HSLhsl(98, 36%, 31%)
HSVhsv(98, 53%, 42%)
CMYKcmyk(33%, 0%, 52.8%, 58.4%)
CIE-LABlab(41.02, -23.70, 27.31)
CIE-LCHlch(41.02, 36.16, 130.95°)
OKLaboklab(48.34% -0.0654 0.0655)
OKLCHoklch(48.34% 0.093 134.9)
XYZxyz(8.3281, 11.8776, 4.8708)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A32 #55326A
analogous
#636A32 #476A32 #326A39
triadic
#476A32 #32476A #6A3247
tetradic
#476A32 #32636A #55326A #6A3932
square
#476A32 #32636A #55326A #6A3932
split-complementary
#476A32 #39326A #6A3263
monochromatic
#0F170B #2B401E #476A32 #639446 #81B562

Accessibility & contrast

On white

6.22
#476A32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#476A32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476A32
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476A32#FFFFFF#000000##FFFFFF
##476A321.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E632D
Deuteranopia (green-blind)
#696036
Tritanopia (blue-blind)
#47665D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #476a32;
/* rgb */ color: rgb(71, 106, 50);
/* oklch */ color: oklch(48.3% 0.093 134.9);
Tailwind
colors: {
  custom: {
    50: '#7c956b',
    500: '#476a32',
    950: '#000000',
  },
}
SCSS
$custom: #476a32;
$custom-light: #7c956b;
$custom-dark: #000000;
JSON
{
  "hex": "#476a32",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 50
  },
  "hsl": {
    "h": 97.5,
    "s": 35.897,
    "l": 30.588
  },
  "oklch": {
    "l": 0.48342,
    "c": 0.09255,
    "h": 134.9
  },
  "luminance": 0.11878
}

Semantic roles & 50–950 ramp

primary
#476A32
secondary
#845D9B
accent
#5CCCA2
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#0A0D07
muted
#7C7E7A

Preview Lab

Preview with #476A32

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

Preview Lab → · Contrast checker → · Palette generator →

#476A32 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva