#476C1D#476C1D

#476C1D is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 48.6% C 0.115 H 131.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#476C1D
RGBrgb(71, 108, 29)
HSLhsl(88, 58%, 27%)
HSVhsv(88, 73%, 42%)
CMYKcmyk(34.3%, 0%, 73.1%, 57.6%)
CIE-LABlab(41.46, -26.89, 38.15)
CIE-LCHlch(41.46, 46.67, 125.18°)
OKLaboklab(48.63% -0.0759 0.0863)
OKLCHoklch(48.63% 0.115 131.3)
XYZxyz(8.1828, 12.1531, 3.0768)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476C1D #421D6C
analogous
#6C6A1D #476C1D #206C1D
triadic
#476C1D #1D476C #6C1D47
tetradic
#476C1D #1D6C6A #421D6C #6C1D20
square
#476C1D #1D6C6A #421D6C #6C1D20
split-complementary
#476C1D #1D206C #6A1D6C
monochromatic
#101806 #273C10 #476C1D #679C2A #86CA39

Accessibility & contrast

On white

6.12
#476C1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #476C1D
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476C1D#FFFFFF#000000##FFFFFF
##476C1D1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716411
Deuteranopia (green-blind)
#6C6124
Tritanopia (blue-blind)
#48675C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #476c1d;
/* rgb */ color: rgb(71, 108, 29);
/* oklch */ color: oklch(48.6% 0.115 131.3);
Tailwind
colors: {
  custom: {
    50: '#7d965e',
    500: '#476c1d',
    950: '#000000',
  },
}
SCSS
$custom: #476c1d;
$custom-light: #7d965e;
$custom-dark: #000000;
JSON
{
  "hex": "#476c1d",
  "rgb": {
    "r": 71,
    "g": 108,
    "b": 29
  },
  "hsl": {
    "h": 88.101,
    "s": 57.664,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48625,
    "c": 0.11494,
    "h": 131.3
  },
  "luminance": 0.12153
}

Semantic roles & 50–950 ramp

primary
#476C1D
secondary
#6F44A1
accent
#47E18F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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