#476D1E#476D1E

#476D1E is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 48.9% C 0.116 H 131.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#476D1E
RGBrgb(71, 109, 30)
HSLhsl(89, 57%, 27%)
HSVhsv(89, 72%, 43%)
CMYKcmyk(34.9%, 0%, 72.5%, 57.3%)
CIE-LABlab(41.80, -27.29, 38.07)
CIE-LCHlch(41.80, 46.84, 125.63°)
OKLaboklab(48.91% -0.0769 0.0863)
OKLCHoklch(48.91% 0.116 131.7)
XYZxyz(8.3014, 12.3703, 3.1784)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476D1E #441E6D
analogous
#6D6C1E #476D1E #1F6D1E
triadic
#476D1E #1E476D #6D1E47
tetradic
#476D1E #1E6D6C #441E6D #6D1E1F
square
#476D1E #1E6D6C #441E6D #6D1E1F
split-complementary
#476D1E #1E1F6D #6C1E6D
monochromatic
#101807 #283D11 #476D1E #669D2B #85C93C

Accessibility & contrast

On white

6.04
#476D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#476D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476D1E
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476D1E#FFFFFF#000000##FFFFFF
##476D1E1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726412
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#48685D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #476d1e;
/* rgb */ color: rgb(71, 109, 30);
/* oklch */ color: oklch(48.9% 0.116 131.7);
Tailwind
colors: {
  custom: {
    50: '#7e975f',
    500: '#476d1e',
    950: '#000000',
  },
}
SCSS
$custom: #476d1e;
$custom-light: #7e975f;
$custom-dark: #000000;
JSON
{
  "hex": "#476d1e",
  "rgb": {
    "r": 71,
    "g": 109,
    "b": 30
  },
  "hsl": {
    "h": 88.861,
    "s": 56.835,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48905,
    "c": 0.11561,
    "h": 131.7
  },
  "luminance": 0.12371
}

Semantic roles & 50–950 ramp

primary
#476D1E
secondary
#7245A1
accent
#48E091
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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