#476C16#476C16

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

Color values

HEX#476C16
RGBrgb(71, 108, 22)
HSLhsl(86, 66%, 25%)
HSVhsv(86, 80%, 42%)
CMYKcmyk(34.3%, 0%, 79.6%, 57.6%)
CIE-LABlab(41.41, -27.37, 40.87)
CIE-LCHlch(41.41, 49.19, 123.81°)
OKLaboklab(48.57% -0.0778 0.0909)
OKLCHoklch(48.57% 0.12 130.6)
XYZxyz(8.1059, 12.1224, 2.6717)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476C16 #3B166C
analogous
#6C6616 #476C16 #1C6C16
triadic
#476C16 #16476C #6C1647
tetradic
#476C16 #166C66 #3B166C #6C161C
square
#476C16 #166C66 #3B166C #6C161C
split-complementary
#476C16 #161C6C #66166C
monochromatic
#111905 #26390C #476C16 #689F20 #8AD22B

Accessibility & contrast

On white

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

On black

3.42
#476C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##476C16#FFFFFF#000000##FFFFFF
##476C161.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716303
Deuteranopia (green-blind)
#6C611F
Tritanopia (blue-blind)
#49675C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #476c16;
/* rgb */ color: rgb(71, 108, 22);
/* oklch */ color: oklch(48.6% 0.120 130.6);
Tailwind
colors: {
  custom: {
    50: '#7e965b',
    500: '#476c16',
    950: '#000000',
  },
}
SCSS
$custom: #476c16;
$custom-light: #7e965b;
$custom-dark: #000000;
JSON
{
  "hex": "#476c16",
  "rgb": {
    "r": 71,
    "g": 108,
    "b": 22
  },
  "hsl": {
    "h": 85.814,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.4857,
    "c": 0.11962,
    "h": 130.6
  },
  "luminance": 0.12123
}

Semantic roles & 50–950 ramp

primary
#476C16
secondary
#683CA2
accent
#3FE988
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476C16

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

Preview Lab → · Contrast checker → · Palette generator →

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