#476A1D#476A1D

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

Color values

HEX#476A1D
RGBrgb(71, 106, 29)
HSLhsl(87, 57%, 26%)
HSVhsv(87, 73%, 42%)
CMYKcmyk(33%, 0%, 72.6%, 58.4%)
CIE-LABlab(40.79, -25.91, 37.46)
CIE-LCHlch(40.79, 45.55, 124.67°)
OKLaboklab(48.08% -0.0732 0.0849)
OKLCHoklch(48.08% 0.112 130.8)
XYZxyz(7.9743, 11.7361, 3.0073)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A1D #401D6A
analogous
#6A671D #476A1D #216A1D
triadic
#476A1D #1D476A #6A1D47
tetradic
#476A1D #1D6A67 #401D6A #6A1D21
square
#476A1D #1D6A67 #401D6A #6A1D21
split-complementary
#476A1D #1D216A #671D6A
monochromatic
#101807 #273A10 #476A1D #679A2A #87C939

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476A1D#FFFFFF#000000##FFFFFF
##476A1D1.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)
#6F6211
Deuteranopia (green-blind)
#6A5F24
Tritanopia (blue-blind)
#49655B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #476a1d;
/* rgb */ color: rgb(71, 106, 29);
/* oklch */ color: oklch(48.1% 0.112 130.8);
Tailwind
colors: {
  custom: {
    50: '#7d955e',
    500: '#476a1d',
    950: '#000000',
  },
}
SCSS
$custom: #476a1d;
$custom-light: #7d955e;
$custom-dark: #000000;
JSON
{
  "hex": "#476a1d",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 29
  },
  "hsl": {
    "h": 87.273,
    "s": 57.037,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48083,
    "c": 0.1121,
    "h": 130.8
  },
  "luminance": 0.11736
}

Semantic roles & 50–950 ramp

primary
#476A1D
secondary
#6D449F
accent
#48E08D
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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