#476517#476517

#476517 is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.7% C 0.109 H 128.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#476517
RGBrgb(71, 101, 23)
HSLhsl(83, 63%, 24%)
HSVhsv(83, 77%, 40%)
CMYKcmyk(29.7%, 0%, 77.2%, 60.4%)
CIE-LABlab(39.09, -23.87, 38.23)
CIE-LCHlch(39.09, 45.07, 121.98°)
OKLaboklab(46.68% -0.0682 0.0855)
OKLCHoklch(46.68% 0.109 128.6)
XYZxyz(7.4069, 10.7086, 2.4872)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476517 #351765
analogous
#655C17 #476517 #206517
triadic
#476517 #174765 #651747
tetradic
#476517 #17655C #351765 #651720
square
#476517 #17655C #351765 #651720
split-complementary
#476517 #172065 #5C1765
monochromatic
#121906 #24330C #476517 #6A9722 #8DC92E

Accessibility & contrast

On white

6.68
#476517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#476517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476517
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476517#FFFFFF#000000##FFFFFF
##4765171.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D08
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#4A6056
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #476517;
/* rgb */ color: rgb(71, 101, 23);
/* oklch */ color: oklch(46.7% 0.109 128.6);
Tailwind
colors: {
  custom: {
    50: '#7d915a',
    500: '#476517',
    950: '#000000',
  },
}
SCSS
$custom: #476517;
$custom-light: #7d915a;
$custom-dark: #000000;
JSON
{
  "hex": "#476517",
  "rgb": {
    "r": 71,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 83.077,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4668,
    "c": 0.10937,
    "h": 128.6
  },
  "luminance": 0.10709
}

Semantic roles & 50–950 ramp

primary
#476517
secondary
#613C9B
accent
#42E681
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #476517

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

Preview Lab → · Contrast checker → · Palette generator →

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