#476016#476016

#476016 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.3% C 0.103 H 126.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#476016
RGBrgb(71, 96, 22)
HSLhsl(80, 63%, 23%)
HSVhsv(80, 77%, 38%)
CMYKcmyk(26%, 0%, 77.1%, 62.4%)
CIE-LABlab(37.41, -21.39, 36.98)
CIE-LCHlch(37.41, 42.72, 120.04°)
OKLaboklab(45.32% -0.0615 0.0827)
OKLCHoklch(45.32% 0.103 126.6)
XYZxyz(6.9262, 9.7631, 2.2785)
Luminance0.0976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476016 #2F1660
analogous
#605416 #476016 #226016
triadic
#476016 #164760 #601647
tetradic
#476016 #166054 #2F1660 #601622
square
#476016 #166054 #2F1660 #601622
split-complementary
#476016 #162260 #541660
monochromatic
#121906 #222E0B #476016 #6C9221 #91C42D

Accessibility & contrast

On white

7.11
#476016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#476016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #476016
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476016#FFFFFF#000000##FFFFFF
##4760161.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655908
Deuteranopia (green-blind)
#62581D
Tritanopia (blue-blind)
#4A5B52
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #476016;
/* rgb */ color: rgb(71, 96, 22);
/* oklch */ color: oklch(45.3% 0.103 126.6);
Tailwind
colors: {
  custom: {
    50: '#7d8d59',
    500: '#476016',
    950: '#000000',
  },
}
SCSS
$custom: #476016;
$custom-light: #7d8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#476016",
  "rgb": {
    "r": 71,
    "g": 96,
    "b": 22
  },
  "hsl": {
    "h": 80.27,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45321,
    "c": 0.10308,
    "h": 126.6
  },
  "luminance": 0.09763
}

Semantic roles & 50–950 ramp

primary
#476016
secondary
#5A3B97
accent
#42E679
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #476016

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

Preview Lab → · Contrast checker → · Palette generator →

#476016 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva