#476B2E#476B2E

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

Color values

HEX#476B2E
RGBrgb(71, 107, 46)
HSLhsl(95, 40%, 30%)
HSVhsv(95, 57%, 42%)
CMYKcmyk(33.6%, 0%, 57%, 58%)
CIE-LABlab(41.30, -24.71, 29.79)
CIE-LCHlch(41.30, 38.71, 129.67°)
OKLaboklab(48.55% -0.0684 0.0706)
OKLCHoklch(48.55% 0.098 134.1)
XYZxyz(8.3492, 12.0519, 4.4706)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476B2E #522E6B
analogous
#656B2E #476B2E #2E6B34
triadic
#476B2E #2E476B #6B2E47
tetradic
#476B2E #2E656B #522E6B #6B342E
square
#476B2E #2E656B #522E6B #6B342E
split-complementary
#476B2E #342E6B #6B2E65
monochromatic
#0E1509 #2B401C #476B2E #639640 #81B85B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476B2E#FFFFFF#000000##FFFFFF
##476B2E1.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)
#6F6328
Deuteranopia (green-blind)
#6A6032
Tritanopia (blue-blind)
#47675D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #476b2e;
/* rgb */ color: rgb(71, 107, 46);
/* oklch */ color: oklch(48.5% 0.098 134.1);
Tailwind
colors: {
  custom: {
    50: '#7c9569',
    500: '#476b2e',
    950: '#000000',
  },
}
SCSS
$custom: #476b2e;
$custom-light: #7c9569;
$custom-dark: #000000;
JSON
{
  "hex": "#476b2e",
  "rgb": {
    "r": 71,
    "g": 107,
    "b": 46
  },
  "hsl": {
    "h": 95.41,
    "s": 39.869,
    "l": 30
  },
  "oklch": {
    "l": 0.4855,
    "c": 0.09836,
    "h": 134.1
  },
  "luminance": 0.12052
}

Semantic roles & 50–950 ramp

primary
#476B2E
secondary
#81589D
accent
#58D09F
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #476B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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