#476D1A#476D1A

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

Color values

HEX#476D1A
RGBrgb(71, 109, 26)
HSLhsl(87, 61%, 26%)
HSVhsv(87, 76%, 43%)
CMYKcmyk(34.9%, 0%, 76.1%, 57.3%)
CIE-LABlab(41.77, -27.59, 39.69)
CIE-LCHlch(41.77, 48.34, 124.80°)
OKLaboklab(48.87% -0.0781 0.0891)
OKLCHoklch(48.87% 0.118 131.2)
XYZxyz(8.2536, 12.3512, 2.9262)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476D1A #401A6D
analogous
#6D6A1A #476D1A #1E6D1A
triadic
#476D1A #1A476D #6D1A47
tetradic
#476D1A #1A6D6A #401A6D #6D1A1E
square
#476D1A #1A6D6A #401A6D #6D1A1E
split-complementary
#476D1A #1A1E6D #6A1A6D
monochromatic
#101906 #273C0E #476D1A #679E26 #87CE33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476D1A#FFFFFF#000000##FFFFFF
##476D1A1.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)
#72640B
Deuteranopia (green-blind)
#6D6222
Tritanopia (blue-blind)
#48685D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #476d1a;
/* rgb */ color: rgb(71, 109, 26);
/* oklch */ color: oklch(48.9% 0.118 131.2);
Tailwind
colors: {
  custom: {
    50: '#7e975d',
    500: '#476d1a',
    950: '#000000',
  },
}
SCSS
$custom: #476d1a;
$custom-light: #7e975d;
$custom-dark: #000000;
JSON
{
  "hex": "#476d1a",
  "rgb": {
    "r": 71,
    "g": 109,
    "b": 26
  },
  "hsl": {
    "h": 87.47,
    "s": 61.481,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48871,
    "c": 0.11844,
    "h": 131.2
  },
  "luminance": 0.12351
}

Semantic roles & 50–950 ramp

primary
#476D1A
secondary
#6D41A2
accent
#43E58D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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