#476B1D#476B1D

#476B1D is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.4% C 0.114 H 131.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#476B1D
RGBrgb(71, 107, 29)
HSLhsl(88, 57%, 27%)
HSVhsv(88, 73%, 42%)
CMYKcmyk(33.6%, 0%, 72.9%, 58%)
CIE-LABlab(41.13, -26.40, 37.81)
CIE-LCHlch(41.13, 46.11, 124.93°)
OKLaboklab(48.35% -0.0746 0.0856)
OKLCHoklch(48.35% 0.114 131.1)
XYZxyz(8.0779, 11.9434, 3.0419)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476B1D #411D6B
analogous
#6B681D #476B1D #206B1D
triadic
#476B1D #1D476B #6B1D47
tetradic
#476B1D #1D6B68 #411D6B #6B1D20
square
#476B1D #1D6B68 #411D6B #6B1D20
split-complementary
#476B1D #1D206B #681D6B
monochromatic
#101807 #273B10 #476B1D #679B2A #87C939

Accessibility & contrast

On white

6.20
#476B1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#476B1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476B1D
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476B1D#FFFFFF#000000##FFFFFF
##476B1D1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706311
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#48665B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #476b1d;
/* rgb */ color: rgb(71, 107, 29);
/* oklch */ color: oklch(48.4% 0.114 131.1);
Tailwind
colors: {
  custom: {
    50: '#7d955e',
    500: '#476b1d',
    950: '#000000',
  },
}
SCSS
$custom: #476b1d;
$custom-light: #7d955e;
$custom-dark: #000000;
JSON
{
  "hex": "#476b1d",
  "rgb": {
    "r": 71,
    "g": 107,
    "b": 29
  },
  "hsl": {
    "h": 87.692,
    "s": 57.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48354,
    "c": 0.11353,
    "h": 131.1
  },
  "luminance": 0.11944
}

Semantic roles & 50–950 ramp

primary
#476B1D
secondary
#6E44A0
accent
#47E18E
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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