#476717#476717

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

Color values

HEX#476717
RGBrgb(71, 103, 23)
HSLhsl(84, 63%, 25%)
HSVhsv(84, 78%, 40%)
CMYKcmyk(31.1%, 0%, 77.7%, 59.6%)
CIE-LABlab(39.75, -24.87, 38.88)
CIE-LCHlch(39.75, 46.15, 122.60°)
OKLaboklab(47.22% -0.0709 0.0869)
OKLCHoklch(47.22% 0.112 129.2)
XYZxyz(7.6034, 11.1017, 2.5527)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476717 #371767
analogous
#675F17 #476717 #1F6717
triadic
#476717 #174767 #671747
tetradic
#476717 #17675F #371767 #67171F
square
#476717 #17675F #371767 #67171F
split-complementary
#476717 #171F67 #5F1767
monochromatic
#111906 #25350C #476717 #699922 #8CCB2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476717#FFFFFF#000000##FFFFFF
##4767171.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)
#6C5F07
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#496258
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #476717;
/* rgb */ color: rgb(71, 103, 23);
/* oklch */ color: oklch(47.2% 0.112 129.2);
Tailwind
colors: {
  custom: {
    50: '#7d925a',
    500: '#476717',
    950: '#000000',
  },
}
SCSS
$custom: #476717;
$custom-light: #7d925a;
$custom-dark: #000000;
JSON
{
  "hex": "#476717",
  "rgb": {
    "r": 71,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 84,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47221,
    "c": 0.11214,
    "h": 129.2
  },
  "luminance": 0.11102
}

Semantic roles & 50–950 ramp

primary
#476717
secondary
#633D9D
accent
#41E783
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476717

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

Preview Lab → · Contrast checker → · Palette generator →

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