#476B17#476B17

#476B17 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.3% C 0.118 H 130.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#476B17
RGBrgb(71, 107, 23)
HSLhsl(86, 65%, 25%)
HSVhsv(86, 79%, 42%)
CMYKcmyk(33.6%, 0%, 78.5%, 58%)
CIE-LABlab(41.08, -26.83, 40.18)
CIE-LCHlch(41.08, 48.31, 123.73°)
OKLaboklab(48.31% -0.0762 0.0896)
OKLCHoklch(48.31% 0.118 130.4)
XYZxyz(8.0108, 11.9166, 2.6885)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476B17 #3B176B
analogous
#6B6517 #476B17 #1D6B17
triadic
#476B17 #17476B #6B1747
tetradic
#476B17 #176B65 #3B176B #6B171D
square
#476B17 #176B65 #3B176B #6B171D
split-complementary
#476B17 #171D6B #65176B
monochromatic
#111905 #26390C #476B17 #689D22 #8AD02D

Accessibility & contrast

On white

6.21
#476B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#476B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476B17
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476B17#FFFFFF#000000##FFFFFF
##476B171.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706306
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#49665B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #476b17;
/* rgb */ color: rgb(71, 107, 23);
/* oklch */ color: oklch(48.3% 0.118 130.4);
Tailwind
colors: {
  custom: {
    50: '#7e955b',
    500: '#476b17',
    950: '#000000',
  },
}
SCSS
$custom: #476b17;
$custom-light: #7e955b;
$custom-dark: #000000;
JSON
{
  "hex": "#476b17",
  "rgb": {
    "r": 71,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 85.714,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48305,
    "c": 0.11765,
    "h": 130.4
  },
  "luminance": 0.11917
}

Semantic roles & 50–950 ramp

primary
#476B17
secondary
#683DA1
accent
#40E888
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476B17

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

Preview Lab → · Contrast checker → · Palette generator →

#476B17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva