#476D1C#476D1C

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

Color values

HEX#476D1C
RGBrgb(71, 109, 28)
HSLhsl(88, 59%, 27%)
HSVhsv(88, 74%, 43%)
CMYKcmyk(34.9%, 0%, 74.3%, 57.3%)
CIE-LABlab(41.78, -27.45, 38.90)
CIE-LCHlch(41.78, 47.61, 125.21°)
OKLaboklab(48.89% -0.0775 0.0877)
OKLCHoklch(48.89% 0.117 131.5)
XYZxyz(8.2767, 12.3604, 3.0481)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476D1C #421C6D
analogous
#6D6B1C #476D1C #1F6D1C
triadic
#476D1C #1C476D #6D1C47
tetradic
#476D1C #1C6D6B #421C6D #6D1C1F
square
#476D1C #1C6D6B #421C6D #6D1C1F
split-complementary
#476D1C #1C1F6D #6B1C6D
monochromatic
#101806 #273C0F #476D1C #679E29 #86CC38

Accessibility & contrast

On white

6.05
#476D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #476D1C
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476D1C#FFFFFF#000000##FFFFFF
##476D1C1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72640F
Deuteranopia (green-blind)
#6D6223
Tritanopia (blue-blind)
#48685D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #476d1c;
/* rgb */ color: rgb(71, 109, 28);
/* oklch */ color: oklch(48.9% 0.117 131.5);
Tailwind
colors: {
  custom: {
    50: '#7e975e',
    500: '#476d1c',
    950: '#000000',
  },
}
SCSS
$custom: #476d1c;
$custom-light: #7e975e;
$custom-dark: #000000;
JSON
{
  "hex": "#476d1c",
  "rgb": {
    "r": 71,
    "g": 109,
    "b": 28
  },
  "hsl": {
    "h": 88.148,
    "s": 59.124,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48887,
    "c": 0.11706,
    "h": 131.5
  },
  "luminance": 0.12361
}

Semantic roles & 50–950 ramp

primary
#476D1C
secondary
#6F43A2
accent
#45E28F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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