#476612#476612

#476612 is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 46.9% C 0.114 H 128.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#476612
RGBrgb(71, 102, 18)
HSLhsl(82, 70%, 24%)
HSVhsv(82, 82%, 40%)
CMYKcmyk(30.4%, 0%, 82.4%, 60%)
CIE-LABlab(39.39, -24.67, 40.37)
CIE-LCHlch(39.39, 47.31, 121.43°)
OKLaboklab(46.92% -0.0708 0.0891)
OKLCHoklch(46.92% 0.114 128.5)
XYZxyz(7.4591, 10.8858, 2.2803)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476612 #311266
analogous
#665B12 #476612 #1D6612
triadic
#476612 #124766 #661247
tetradic
#476612 #12665B #311266 #66121D
square
#476612 #12665B #311266 #66121D
split-complementary
#476612 #121D66 #5B1266
monochromatic
#121A05 #233209 #476612 #6B9A1B #8FCE24

Accessibility & contrast

On white

6.61
#476612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#476612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476612
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476612#FFFFFF#000000##FFFFFF
##4766121.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#675C1B
Tritanopia (blue-blind)
#4A6156
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #476612;
/* rgb */ color: rgb(71, 102, 18);
/* oklch */ color: oklch(46.9% 0.114 128.5);
Tailwind
colors: {
  custom: {
    50: '#7e9258',
    500: '#476612',
    950: '#000000',
  },
}
SCSS
$custom: #476612;
$custom-light: #7e9258;
$custom-dark: #000000;
JSON
{
  "hex": "#476612",
  "rgb": {
    "r": 71,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 82.143,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46916,
    "c": 0.11382,
    "h": 128.5
  },
  "luminance": 0.10886
}

Semantic roles & 50–950 ramp

primary
#476612
secondary
#5C369E
accent
#3BED7D
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0D04
muted
#7C7D79

Preview Lab

Preview with #476612

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

Preview Lab → · Contrast checker → · Palette generator →

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