#476D16#476D16

#476D16 is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.8% C 0.121 H 130.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#476D16
RGBrgb(71, 109, 22)
HSLhsl(86, 66%, 26%)
HSVhsv(86, 80%, 43%)
CMYKcmyk(34.9%, 0%, 79.8%, 57.3%)
CIE-LABlab(41.74, -27.85, 41.18)
CIE-LCHlch(41.74, 49.72, 124.07°)
OKLaboklab(48.84% -0.0791 0.0915)
OKLCHoklch(48.84% 0.121 130.8)
XYZxyz(8.2119, 12.3345, 2.7070)
Luminance0.1234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476D16 #3C166D
analogous
#6D6716 #476D16 #1B6D16
triadic
#476D16 #16476D #6D1647
tetradic
#476D16 #166D67 #3C166D #6D161B
square
#476D16 #166D67 #3C166D #6D161B
split-complementary
#476D16 #161B6D #67166D
monochromatic
#111905 #263A0C #476D16 #68A020 #89D32B

Accessibility & contrast

On white

6.06
#476D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#476D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476D16
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476D16#FFFFFF#000000##FFFFFF
##476D161.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726403
Deuteranopia (green-blind)
#6D621F
Tritanopia (blue-blind)
#49685D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #476d16;
/* rgb */ color: rgb(71, 109, 22);
/* oklch */ color: oklch(48.8% 0.121 130.8);
Tailwind
colors: {
  custom: {
    50: '#7e975b',
    500: '#476d16',
    950: '#000000',
  },
}
SCSS
$custom: #476d16;
$custom-light: #7e975b;
$custom-dark: #000000;
JSON
{
  "hex": "#476d16",
  "rgb": {
    "r": 71,
    "g": 109,
    "b": 22
  },
  "hsl": {
    "h": 86.207,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48841,
    "c": 0.12097,
    "h": 130.8
  },
  "luminance": 0.12335
}

Semantic roles & 50–950 ramp

primary
#476D16
secondary
#693CA3
accent
#3EE989
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476D16

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

Preview Lab → · Contrast checker → · Palette generator →

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