#476C1A#476C1A

#476C1A is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.6% C 0.117 H 131.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#476C1A
RGBrgb(71, 108, 26)
HSLhsl(87, 61%, 26%)
HSVhsv(87, 76%, 42%)
CMYKcmyk(34.3%, 0%, 75.9%, 57.6%)
CIE-LABlab(41.44, -27.11, 39.36)
CIE-LCHlch(41.44, 47.79, 124.55°)
OKLaboklab(48.6% -0.0768 0.0884)
OKLCHoklch(48.6% 0.117 131)
XYZxyz(8.1475, 12.1390, 2.8909)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476C1A #3F1A6C
analogous
#6C681A #476C1A #1E6C1A
triadic
#476C1A #1A476C #6C1A47
tetradic
#476C1A #1A6C68 #3F1A6C #6C1A1E
square
#476C1A #1A6C68 #3F1A6C #6C1A1E
split-complementary
#476C1A #1A1E6C #681A6C
monochromatic
#101906 #273B0E #476C1A #679D26 #88CE33

Accessibility & contrast

On white

6.13
#476C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#476C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476C1A
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476C1A#FFFFFF#000000##FFFFFF
##476C1A1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640B
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#49675C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #476c1a;
/* rgb */ color: rgb(71, 108, 26);
/* oklch */ color: oklch(48.6% 0.117 131.0);
Tailwind
colors: {
  custom: {
    50: '#7e965d',
    500: '#476c1a',
    950: '#000000',
  },
}
SCSS
$custom: #476c1a;
$custom-light: #7e965d;
$custom-dark: #000000;
JSON
{
  "hex": "#476c1a",
  "rgb": {
    "r": 71,
    "g": 108,
    "b": 26
  },
  "hsl": {
    "h": 87.073,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.486,
    "c": 0.11706,
    "h": 131
  },
  "luminance": 0.12139
}

Semantic roles & 50–950 ramp

primary
#476C1A
secondary
#6C41A1
accent
#43E48C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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