#476F2A#476F2A

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

Color values

HEX#476F2A
RGBrgb(71, 111, 42)
HSLhsl(95, 45%, 30%)
HSVhsv(95, 62%, 44%)
CMYKcmyk(36%, 0%, 62.2%, 56.5%)
CIE-LABlab(42.57, -27.14, 33.32)
CIE-LCHlch(42.57, 42.98, 129.15°)
OKLaboklab(49.57% -0.0754 0.0779)
OKLCHoklch(49.57% 0.108 134.1)
XYZxyz(8.7007, 12.8753, 4.2168)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476F2A #522A6F
analogous
#696F2A #476F2A #2A6F30
triadic
#476F2A #2A476F #6F2A47
tetradic
#476F2A #2A696F #522A6F #6F302A
square
#476F2A #2A696F #522A6F #6F302A
split-complementary
#476F2A #302A6F #6F2A69
monochromatic
#0E1608 #2B4319 #476F2A #639B3B #81BF55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476F2A#FFFFFF#000000##FFFFFF
##476F2A1.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)
#736723
Deuteranopia (green-blind)
#6E632F
Tritanopia (blue-blind)
#476B60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #476f2a;
/* rgb */ color: rgb(71, 111, 42);
/* oklch */ color: oklch(49.6% 0.108 134.1);
Tailwind
colors: {
  custom: {
    50: '#7d9866',
    500: '#476f2a',
    950: '#000000',
  },
}
SCSS
$custom: #476f2a;
$custom-light: #7d9866;
$custom-dark: #000000;
JSON
{
  "hex": "#476f2a",
  "rgb": {
    "r": 71,
    "g": 111,
    "b": 42
  },
  "hsl": {
    "h": 94.783,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.49573,
    "c": 0.10841,
    "h": 134.1
  },
  "luminance": 0.12876
}

Semantic roles & 50–950 ramp

primary
#476F2A
secondary
#8154A1
accent
#53D59E
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #476F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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