#476A2E#476A2E

#476A2E is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.3% C 0.097 H 133.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#476A2E
RGBrgb(71, 106, 46)
HSLhsl(95, 39%, 30%)
HSVhsv(95, 57%, 42%)
CMYKcmyk(33%, 0%, 56.6%, 58.4%)
CIE-LABlab(40.97, -24.21, 29.40)
CIE-LCHlch(40.97, 38.09, 129.47°)
OKLaboklab(48.28% -0.0671 0.0698)
OKLCHoklch(48.28% 0.097 133.9)
XYZxyz(8.2455, 11.8446, 4.4360)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A2E #512E6A
analogous
#656A2E #476A2E #2E6A33
triadic
#476A2E #2E476A #6A2E47
tetradic
#476A2E #2E656A #512E6A #6A332E
square
#476A2E #2E656A #512E6A #6A332E
split-complementary
#476A2E #332E6A #6A2E65
monochromatic
#0E1509 #2A3F1B #476A2E #649541 #81B85B

Accessibility & contrast

On white

6.23
#476A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#476A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476A2E
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476A2E#FFFFFF#000000##FFFFFF
##476A2E1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6228
Deuteranopia (green-blind)
#696032
Tritanopia (blue-blind)
#47665D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #476a2e;
/* rgb */ color: rgb(71, 106, 46);
/* oklch */ color: oklch(48.3% 0.097 133.9);
Tailwind
colors: {
  custom: {
    50: '#7c9568',
    500: '#476a2e',
    950: '#000000',
  },
}
SCSS
$custom: #476a2e;
$custom-light: #7c9568;
$custom-dark: #000000;
JSON
{
  "hex": "#476a2e",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 46
  },
  "hsl": {
    "h": 95,
    "s": 39.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.48281,
    "c": 0.09679,
    "h": 133.9
  },
  "luminance": 0.11845
}

Semantic roles & 50–950 ramp

primary
#476A2E
secondary
#80589C
accent
#58CF9E
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #476A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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