#476C17#476C17

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

Color values

HEX#476C17
RGBrgb(71, 108, 23)
HSLhsl(86, 65%, 26%)
HSVhsv(86, 79%, 42%)
CMYKcmyk(34.3%, 0%, 78.7%, 57.6%)
CIE-LABlab(41.42, -27.31, 40.50)
CIE-LCHlch(41.42, 48.85, 123.99°)
OKLaboklab(48.58% -0.0775 0.0903)
OKLCHoklch(48.58% 0.119 130.7)
XYZxyz(8.1157, 12.1263, 2.7235)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476C17 #3C176C
analogous
#6C6617 #476C17 #1C6C17
triadic
#476C17 #17476C #6C1747
tetradic
#476C17 #176C66 #3C176C #6C171C
square
#476C17 #176C66 #3C176C #6C171C
split-complementary
#476C17 #171C6C #66176C
monochromatic
#111905 #263A0C #476C17 #689E22 #89D12C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476C17#FFFFFF#000000##FFFFFF
##476C171.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)
#716305
Deuteranopia (green-blind)
#6C611F
Tritanopia (blue-blind)
#49675C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #476c17;
/* rgb */ color: rgb(71, 108, 23);
/* oklch */ color: oklch(48.6% 0.119 130.7);
Tailwind
colors: {
  custom: {
    50: '#7e965b',
    500: '#476c17',
    950: '#000000',
  },
}
SCSS
$custom: #476c17;
$custom-light: #7e965b;
$custom-dark: #000000;
JSON
{
  "hex": "#476c17",
  "rgb": {
    "r": 71,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 86.118,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48577,
    "c": 0.11901,
    "h": 130.7
  },
  "luminance": 0.12127
}

Semantic roles & 50–950 ramp

primary
#476C17
secondary
#693DA2
accent
#40E889
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476C17

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

Preview Lab → · Contrast checker → · Palette generator →

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