#476F2D#476F2D

#476F2D is a mid, moderate yellow-green. Relative luminance 0.129; OKLCH L 49.6% C 0.106 H 134.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#476F2D
RGBrgb(71, 111, 45)
HSLhsl(96, 42%, 31%)
HSVhsv(96, 59%, 44%)
CMYKcmyk(36%, 0%, 59.5%, 56.5%)
CIE-LABlab(42.61, -26.80, 31.85)
CIE-LCHlch(42.61, 41.63, 130.08°)
OKLaboklab(49.61% -0.0743 0.075)
OKLCHoklch(49.61% 0.106 134.7)
XYZxyz(8.7564, 12.8976, 4.5102)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476F2D #552D6F
analogous
#686F2D #476F2D #2D6F34
triadic
#476F2D #2D476F #6F2D47
tetradic
#476F2D #2D686F #552D6F #6F342D
square
#476F2D #2D686F #552D6F #6F342D
split-complementary
#476F2D #342D6F #6F2D68
monochromatic
#0F180A #2B431B #476F2D #639B3F #81BC5A

Accessibility & contrast

On white

5.87
#476F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#476F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476F2D
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476F2D#FFFFFF#000000##FFFFFF
##476F2D1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736726
Deuteranopia (green-blind)
#6D6332
Tritanopia (blue-blind)
#476B60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #476f2d;
/* rgb */ color: rgb(71, 111, 45);
/* oklch */ color: oklch(49.6% 0.106 134.7);
Tailwind
colors: {
  custom: {
    50: '#7d9868',
    500: '#476f2d',
    950: '#000000',
  },
}
SCSS
$custom: #476f2d;
$custom-light: #7d9868;
$custom-dark: #000000;
JSON
{
  "hex": "#476f2d",
  "rgb": {
    "r": 71,
    "g": 111,
    "b": 45
  },
  "hsl": {
    "h": 96.364,
    "s": 42.308,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49611,
    "c": 0.10554,
    "h": 134.7
  },
  "luminance": 0.12898
}

Semantic roles & 50–950 ramp

primary
#476F2D
secondary
#8457A1
accent
#56D2A1
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #476F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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