#476316#476316

#476316 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.1% C 0.107 H 127.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#476316
RGBrgb(71, 99, 22)
HSLhsl(82, 64%, 24%)
HSVhsv(82, 78%, 39%)
CMYKcmyk(28.3%, 0%, 77.8%, 61.2%)
CIE-LABlab(38.41, -22.93, 37.96)
CIE-LCHlch(38.41, 44.35, 121.13°)
OKLaboklab(46.13% -0.0657 0.0848)
OKLCHoklch(46.13% 0.107 127.8)
XYZxyz(7.2052, 10.3210, 2.3715)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476316 #321663
analogous
#635816 #476316 #206316
triadic
#476316 #164763 #631647
tetradic
#476316 #166358 #321663 #631620
square
#476316 #166358 #321663 #631620
split-complementary
#476316 #162063 #581663
monochromatic
#121906 #23310B #476316 #6B9521 #8FC72C

Accessibility & contrast

On white

6.85
#476316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#476316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476316
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476316#FFFFFF#000000##FFFFFF
##4763161.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C07
Deuteranopia (green-blind)
#645A1D
Tritanopia (blue-blind)
#4A5E54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #476316;
/* rgb */ color: rgb(71, 99, 22);
/* oklch */ color: oklch(46.1% 0.107 127.8);
Tailwind
colors: {
  custom: {
    50: '#7d8f59',
    500: '#476316',
    950: '#000000',
  },
}
SCSS
$custom: #476316;
$custom-light: #7d8f59;
$custom-dark: #000000;
JSON
{
  "hex": "#476316",
  "rgb": {
    "r": 71,
    "g": 99,
    "b": 22
  },
  "hsl": {
    "h": 81.818,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46131,
    "c": 0.10726,
    "h": 127.8
  },
  "luminance": 0.10321
}

Semantic roles & 50–950 ramp

primary
#476316
secondary
#5D3B9A
accent
#41E77D
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #476316

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

Preview Lab → · Contrast checker → · Palette generator →

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