#476B2D#476B2D

#476B2D is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.5% C 0.099 H 133.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#476B2D
RGBrgb(71, 107, 45)
HSLhsl(95, 41%, 30%)
HSVhsv(95, 58%, 42%)
CMYKcmyk(33.6%, 0%, 57.9%, 58%)
CIE-LABlab(41.29, -24.83, 30.30)
CIE-LCHlch(41.29, 39.18, 129.33°)
OKLaboklab(48.54% -0.0689 0.0717)
OKLCHoklch(48.54% 0.099 133.9)
XYZxyz(8.3297, 12.0441, 4.3680)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476B2D #512D6B
analogous
#666B2D #476B2D #2D6B32
triadic
#476B2D #2D476B #6B2D47
tetradic
#476B2D #2D666B #512D6B #6B322D
square
#476B2D #2D666B #512D6B #6B322D
split-complementary
#476B2D #322D6B #6B2D66
monochromatic
#0E1609 #2A401B #476B2D #64963F #81B959

Accessibility & contrast

On white

6.16
#476B2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#476B2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476B2D
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476B2D#FFFFFF#000000##FFFFFF
##476B2D1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6327
Deuteranopia (green-blind)
#6A6031
Tritanopia (blue-blind)
#47675D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #476b2d;
/* rgb */ color: rgb(71, 107, 45);
/* oklch */ color: oklch(48.5% 0.099 133.9);
Tailwind
colors: {
  custom: {
    50: '#7c9568',
    500: '#476b2d',
    950: '#000000',
  },
}
SCSS
$custom: #476b2d;
$custom-light: #7c9568;
$custom-dark: #000000;
JSON
{
  "hex": "#476b2d",
  "rgb": {
    "r": 71,
    "g": 107,
    "b": 45
  },
  "hsl": {
    "h": 94.839,
    "s": 40.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.48536,
    "c": 0.09938,
    "h": 133.9
  },
  "luminance": 0.12044
}

Semantic roles & 50–950 ramp

primary
#476B2D
secondary
#80579D
accent
#57D19E
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #476B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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