#476D2D#476D2D

#476D2D is a mid, moderate yellow-green. Relative luminance 0.125; OKLCH L 49.1% C 0.102 H 134.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#476D2D
RGBrgb(71, 109, 45)
HSLhsl(96, 42%, 30%)
HSVhsv(96, 59%, 43%)
CMYKcmyk(34.9%, 0%, 58.7%, 57.3%)
CIE-LABlab(41.95, -25.82, 31.08)
CIE-LCHlch(41.95, 40.41, 129.72°)
OKLaboklab(49.07% -0.0716 0.0733)
OKLCHoklch(49.07% 0.102 134.3)
XYZxyz(8.5407, 12.4660, 4.4383)
Luminance0.1247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476D2D #532D6D
analogous
#676D2D #476D2D #2D6D33
triadic
#476D2D #2D476D #6D2D47
tetradic
#476D2D #2D676D #532D6D #6D332D
square
#476D2D #2D676D #532D6D #6D332D
split-complementary
#476D2D #332D6D #6D2D67
monochromatic
#0F1609 #2B421B #476D2D #63983F #81BB5A

Accessibility & contrast

On white

6.01
#476D2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#476D2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476D2D
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476D2D#FFFFFF#000000##FFFFFF
##476D2D1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716527
Deuteranopia (green-blind)
#6C6231
Tritanopia (blue-blind)
#47695F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #476d2d;
/* rgb */ color: rgb(71, 109, 45);
/* oklch */ color: oklch(49.1% 0.102 134.3);
Tailwind
colors: {
  custom: {
    50: '#7d9768',
    500: '#476d2d',
    950: '#000000',
  },
}
SCSS
$custom: #476d2d;
$custom-light: #7d9768;
$custom-dark: #000000;
JSON
{
  "hex": "#476d2d",
  "rgb": {
    "r": 71,
    "g": 109,
    "b": 45
  },
  "hsl": {
    "h": 95.625,
    "s": 41.558,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49073,
    "c": 0.10247,
    "h": 134.3
  },
  "luminance": 0.12466
}

Semantic roles & 50–950 ramp

primary
#476D2D
secondary
#82579F
accent
#56D19F
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #476D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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