#476A1E#476A1E

#476A1E is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.1% C 0.111 H 130.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#476A1E
RGBrgb(71, 106, 30)
HSLhsl(88, 56%, 27%)
HSVhsv(88, 72%, 42%)
CMYKcmyk(33%, 0%, 71.7%, 58.4%)
CIE-LABlab(40.80, -25.83, 37.04)
CIE-LCHlch(40.80, 45.16, 124.89°)
OKLaboklab(48.09% -0.0729 0.0841)
OKLCHoklch(48.09% 0.111 130.9)
XYZxyz(7.9868, 11.7411, 3.0735)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A1E #411E6A
analogous
#6A671E #476A1E #216A1E
triadic
#476A1E #1E476A #6A1E47
tetradic
#476A1E #1E6A67 #411E6A #6A1E21
square
#476A1E #1E6A67 #411E6A #6A1E21
split-complementary
#476A1E #1E216A #671E6A
monochromatic
#101807 #273A11 #476A1E #679A2C #87C73B

Accessibility & contrast

On white

6.27
#476A1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#476A1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476A1E
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476A1E#FFFFFF#000000##FFFFFF
##476A1E1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6213
Deuteranopia (green-blind)
#6A5F24
Tritanopia (blue-blind)
#49655B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #476a1e;
/* rgb */ color: rgb(71, 106, 30);
/* oklch */ color: oklch(48.1% 0.111 130.9);
Tailwind
colors: {
  custom: {
    50: '#7d955e',
    500: '#476a1e',
    950: '#000000',
  },
}
SCSS
$custom: #476a1e;
$custom-light: #7d955e;
$custom-dark: #000000;
JSON
{
  "hex": "#476a1e",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 30
  },
  "hsl": {
    "h": 87.632,
    "s": 55.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48093,
    "c": 0.11135,
    "h": 130.9
  },
  "luminance": 0.11741
}

Semantic roles & 50–950 ramp

primary
#476A1E
secondary
#6E459E
accent
#49DF8E
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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