#476011#476011

#476011 is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.3% C 0.106 H 126.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#476011
RGBrgb(71, 96, 17)
HSLhsl(79, 70%, 22%)
HSVhsv(79, 82%, 38%)
CMYKcmyk(26%, 0%, 82.3%, 62.4%)
CIE-LABlab(37.38, -21.69, 38.84)
CIE-LCHlch(37.38, 44.49, 119.18°)
OKLaboklab(45.29% -0.0628 0.0857)
OKLCHoklch(45.29% 0.106 126.2)
XYZxyz(6.8826, 9.7457, 2.0487)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476011 #2A1160
analogous
#605211 #476011 #206011
triadic
#476011 #114760 #601147
tetradic
#476011 #116052 #2A1160 #601120
square
#476011 #116052 #2A1160 #601120
split-complementary
#476011 #112060 #521160
monochromatic
#131A05 #212C08 #476011 #6D941A #94C823

Accessibility & contrast

On white

7.12
#476011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #476011
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476011#FFFFFF#000000##FFFFFF
##4760111.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#625819
Tritanopia (blue-blind)
#4A5B51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #476011;
/* rgb */ color: rgb(71, 96, 17);
/* oklch */ color: oklch(45.3% 0.106 126.2);
Tailwind
colors: {
  custom: {
    50: '#7d8d56',
    500: '#476011',
    950: '#000000',
  },
}
SCSS
$custom: #476011;
$custom-light: #7d8d56;
$custom-dark: #000000;
JSON
{
  "hex": "#476011",
  "rgb": {
    "r": 71,
    "g": 96,
    "b": 17
  },
  "hsl": {
    "h": 78.987,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.45285,
    "c": 0.10626,
    "h": 126.2
  },
  "luminance": 0.09746
}

Semantic roles & 50–950 ramp

primary
#476011
secondary
#543499
accent
#3BED73
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #476011

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

Preview Lab → · Contrast checker → · Palette generator →

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