#476C1E#476C1E

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

Color values

HEX#476C1E
RGBrgb(71, 108, 30)
HSLhsl(88, 57%, 27%)
HSVhsv(88, 72%, 42%)
CMYKcmyk(34.3%, 0%, 72.2%, 57.6%)
CIE-LABlab(41.47, -26.81, 37.73)
CIE-LCHlch(41.47, 46.28, 125.40°)
OKLaboklab(48.63% -0.0756 0.0856)
OKLCHoklch(48.63% 0.114 131.4)
XYZxyz(8.1954, 12.1582, 3.1430)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476C1E #431E6C
analogous
#6C6A1E #476C1E #206C1E
triadic
#476C1E #1E476C #6C1E47
tetradic
#476C1E #1E6C6A #431E6C #6C1E20
square
#476C1E #1E6C6A #431E6C #6C1E20
split-complementary
#476C1E #1E206C #6A1E6C
monochromatic
#101807 #283C11 #476C1E #669C2B #86C93C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476C1E#FFFFFF#000000##FFFFFF
##476C1E1.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)
#716412
Deuteranopia (green-blind)
#6C6125
Tritanopia (blue-blind)
#48675C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #476c1e;
/* rgb */ color: rgb(71, 108, 30);
/* oklch */ color: oklch(48.6% 0.114 131.4);
Tailwind
colors: {
  custom: {
    50: '#7d965f',
    500: '#476c1e',
    950: '#000000',
  },
}
SCSS
$custom: #476c1e;
$custom-light: #7d965f;
$custom-dark: #000000;
JSON
{
  "hex": "#476c1e",
  "rgb": {
    "r": 71,
    "g": 108,
    "b": 30
  },
  "hsl": {
    "h": 88.462,
    "s": 56.522,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48634,
    "c": 0.11419,
    "h": 131.4
  },
  "luminance": 0.12158
}

Semantic roles & 50–950 ramp

primary
#476C1E
secondary
#7145A0
accent
#48E090
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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