#476611#476611

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

Color values

HEX#476611
RGBrgb(71, 102, 17)
HSLhsl(82, 71%, 23%)
HSVhsv(82, 83%, 40%)
CMYKcmyk(30.4%, 0%, 83.3%, 60%)
CIE-LABlab(39.38, -24.72, 40.70)
CIE-LCHlch(39.38, 47.62, 121.28°)
OKLaboklab(46.91% -0.071 0.0896)
OKLCHoklch(46.91% 0.114 128.4)
XYZxyz(7.4511, 10.8826, 2.2382)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476611 #301166
analogous
#665A11 #476611 #1C6611
triadic
#476611 #114766 #661147
tetradic
#476611 #11665A #301166 #66111C
square
#476611 #11665A #301166 #66111C
split-complementary
#476611 #111C66 #5A1166
monochromatic
#121A04 #223208 #476611 #6C9A1A #90CF22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476611#FFFFFF#000000##FFFFFF
##4766111.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)
#675C1A
Tritanopia (blue-blind)
#4A6156
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #476611;
/* rgb */ color: rgb(71, 102, 17);
/* oklch */ color: oklch(46.9% 0.114 128.4);
Tailwind
colors: {
  custom: {
    50: '#7e9257',
    500: '#476611',
    950: '#000000',
  },
}
SCSS
$custom: #476611;
$custom-light: #7e9257;
$custom-dark: #000000;
JSON
{
  "hex": "#476611",
  "rgb": {
    "r": 71,
    "g": 102,
    "b": 17
  },
  "hsl": {
    "h": 81.882,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46909,
    "c": 0.11437,
    "h": 128.4
  },
  "luminance": 0.10883
}

Semantic roles & 50–950 ramp

primary
#476611
secondary
#5B359E
accent
#3AEE7B
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0D03
muted
#7C7D78

Preview Lab

Preview with #476611

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

Preview Lab → · Contrast checker → · Palette generator →

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