#476A2D#476A2D

#476A2D is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.3% C 0.098 H 133.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#476A2D
RGBrgb(71, 106, 45)
HSLhsl(94, 40%, 30%)
HSVhsv(94, 58%, 42%)
CMYKcmyk(33%, 0%, 57.5%, 58.4%)
CIE-LABlab(40.96, -24.33, 29.92)
CIE-LCHlch(40.96, 38.56, 129.12°)
OKLaboklab(48.27% -0.0675 0.0708)
OKLCHoklch(48.27% 0.098 133.6)
XYZxyz(8.2261, 11.8368, 4.3334)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A2D #502D6A
analogous
#666A2D #476A2D #2D6A32
triadic
#476A2D #2D476A #6A2D47
tetradic
#476A2D #2D666A #502D6A #6A322D
square
#476A2D #2D666A #502D6A #6A322D
split-complementary
#476A2D #322D6A #6A2D66
monochromatic
#0E1509 #2A3F1B #476A2D #64953F #82B859

Accessibility & contrast

On white

6.24
#476A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#476A2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476A2D
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476A2D#FFFFFF#000000##FFFFFF
##476A2D1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6227
Deuteranopia (green-blind)
#696031
Tritanopia (blue-blind)
#47665C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #476a2d;
/* rgb */ color: rgb(71, 106, 45);
/* oklch */ color: oklch(48.3% 0.098 133.6);
Tailwind
colors: {
  custom: {
    50: '#7c9568',
    500: '#476a2d',
    950: '#000000',
  },
}
SCSS
$custom: #476a2d;
$custom-light: #7c9568;
$custom-dark: #000000;
JSON
{
  "hex": "#476a2d",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 45
  },
  "hsl": {
    "h": 94.426,
    "s": 40.397,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48267,
    "c": 0.09781,
    "h": 133.6
  },
  "luminance": 0.11837
}

Semantic roles & 50–950 ramp

primary
#476A2D
secondary
#7E579C
accent
#58D09D
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #476A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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