#476B16#476B16

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

Color values

HEX#476B16
RGBrgb(71, 107, 22)
HSLhsl(85, 66%, 25%)
HSVhsv(85, 79%, 42%)
CMYKcmyk(33.6%, 0%, 79.4%, 58%)
CIE-LABlab(41.08, -26.89, 40.55)
CIE-LCHlch(41.08, 48.65, 123.55°)
OKLaboklab(48.3% -0.0765 0.0902)
OKLCHoklch(48.3% 0.118 130.3)
XYZxyz(8.0010, 11.9126, 2.6367)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476B16 #3A166B
analogous
#6B6416 #476B16 #1C6B16
triadic
#476B16 #16476B #6B1647
tetradic
#476B16 #166B64 #3A166B #6B161C
square
#476B16 #166B64 #3A166B #6B161C
split-complementary
#476B16 #161C6B #64166B
monochromatic
#111905 #25380C #476B16 #699E20 #8AD12B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476B16#FFFFFF#000000##FFFFFF
##476B161.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)
#706304
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#49665B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #476b16;
/* rgb */ color: rgb(71, 107, 22);
/* oklch */ color: oklch(48.3% 0.118 130.3);
Tailwind
colors: {
  custom: {
    50: '#7e955a',
    500: '#476b16',
    950: '#000000',
  },
}
SCSS
$custom: #476b16;
$custom-light: #7e955a;
$custom-dark: #000000;
JSON
{
  "hex": "#476b16",
  "rgb": {
    "r": 71,
    "g": 107,
    "b": 22
  },
  "hsl": {
    "h": 85.412,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48298,
    "c": 0.11826,
    "h": 130.3
  },
  "luminance": 0.11913
}

Semantic roles & 50–950 ramp

primary
#476B16
secondary
#673BA1
accent
#3FE987
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476B16

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

Preview Lab → · Contrast checker → · Palette generator →

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