#476716#476716

#476716 is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.2% C 0.113 H 129.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#476716
RGBrgb(71, 103, 22)
HSLhsl(84, 65%, 25%)
HSVhsv(84, 79%, 40%)
CMYKcmyk(31.1%, 0%, 78.6%, 59.6%)
CIE-LABlab(39.74, -24.93, 39.26)
CIE-LCHlch(39.74, 46.51, 122.42°)
OKLaboklab(47.21% -0.0712 0.0875)
OKLCHoklch(47.21% 0.113 129.1)
XYZxyz(7.5936, 11.0978, 2.5009)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476716 #361667
analogous
#675F16 #476716 #1E6716
triadic
#476716 #164767 #671647
tetradic
#476716 #16675F #361667 #67161E
square
#476716 #16675F #361667 #67161E
split-complementary
#476716 #161E67 #5F1667
monochromatic
#111905 #24350B #476716 #6A9921 #8DCC2C

Accessibility & contrast

On white

6.52
#476716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#476716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476716
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476716#FFFFFF#000000##FFFFFF
##4767161.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F06
Deuteranopia (green-blind)
#685D1E
Tritanopia (blue-blind)
#496258
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #476716;
/* rgb */ color: rgb(71, 103, 22);
/* oklch */ color: oklch(47.2% 0.113 129.1);
Tailwind
colors: {
  custom: {
    50: '#7d925a',
    500: '#476716',
    950: '#000000',
  },
}
SCSS
$custom: #476716;
$custom-light: #7d925a;
$custom-dark: #000000;
JSON
{
  "hex": "#476716",
  "rgb": {
    "r": 71,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 83.704,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47214,
    "c": 0.11279,
    "h": 129.1
  },
  "luminance": 0.11098
}

Semantic roles & 50–950 ramp

primary
#476716
secondary
#623B9E
accent
#40E882
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476716

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

Preview Lab → · Contrast checker → · Palette generator →

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