#476917#476917

#476917 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.8% C 0.115 H 129.8°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#476917
RGBrgb(71, 105, 23)
HSLhsl(85, 64%, 25%)
HSVhsv(85, 78%, 41%)
CMYKcmyk(32.4%, 0%, 78.1%, 58.8%)
CIE-LABlab(40.42, -25.85, 39.53)
CIE-LCHlch(40.42, 47.24, 123.18°)
OKLaboklab(47.76% -0.0736 0.0882)
OKLCHoklch(47.76% 0.115 129.8)
XYZxyz(7.8047, 11.5044, 2.6198)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476917 #391769
analogous
#696217 #476917 #1E6917
triadic
#476917 #174769 #691747
tetradic
#476917 #176962 #391769 #69171E
square
#476917 #176962 #391769 #69171E
split-complementary
#476917 #171E69 #621769
monochromatic
#111905 #25370C #476917 #699B22 #8BCD2D

Accessibility & contrast

On white

6.36
#476917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#476917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476917
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476917#FFFFFF#000000##FFFFFF
##4769171.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6106
Deuteranopia (green-blind)
#6A5E1F
Tritanopia (blue-blind)
#496459
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #476917;
/* rgb */ color: rgb(71, 105, 23);
/* oklch */ color: oklch(47.8% 0.115 129.8);
Tailwind
colors: {
  custom: {
    50: '#7e945b',
    500: '#476917',
    950: '#000000',
  },
}
SCSS
$custom: #476917;
$custom-light: #7e945b;
$custom-dark: #000000;
JSON
{
  "hex": "#476917",
  "rgb": {
    "r": 71,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 84.878,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47763,
    "c": 0.1149,
    "h": 129.8
  },
  "luminance": 0.11505
}

Semantic roles & 50–950 ramp

primary
#476917
secondary
#653D9F
accent
#41E786
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476917

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

Preview Lab → · Contrast checker → · Palette generator →

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