#476916#476916

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

Color values

HEX#476916
RGBrgb(71, 105, 22)
HSLhsl(85, 65%, 25%)
HSVhsv(85, 79%, 41%)
CMYKcmyk(32.4%, 0%, 79%, 58.8%)
CIE-LABlab(40.41, -25.92, 39.90)
CIE-LCHlch(40.41, 47.58, 123.00°)
OKLaboklab(47.76% -0.0738 0.0889)
OKLCHoklch(47.76% 0.116 129.7)
XYZxyz(7.7949, 11.5004, 2.5680)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476916 #381669
analogous
#696116 #476916 #1E6916
triadic
#476916 #164769 #691647
tetradic
#476916 #166961 #381669 #69161E
square
#476916 #166961 #381669 #69161E
split-complementary
#476916 #161E69 #611669
monochromatic
#111905 #25360B #476916 #699C21 #8BCE2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476916#FFFFFF#000000##FFFFFF
##4769161.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)
#6E6105
Deuteranopia (green-blind)
#6A5E1E
Tritanopia (blue-blind)
#496459
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #476916;
/* rgb */ color: rgb(71, 105, 22);
/* oklch */ color: oklch(47.8% 0.116 129.7);
Tailwind
colors: {
  custom: {
    50: '#7e945a',
    500: '#476916',
    950: '#000000',
  },
}
SCSS
$custom: #476916;
$custom-light: #7e945a;
$custom-dark: #000000;
JSON
{
  "hex": "#476916",
  "rgb": {
    "r": 71,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 84.578,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47756,
    "c": 0.11553,
    "h": 129.7
  },
  "luminance": 0.11501
}

Semantic roles & 50–950 ramp

primary
#476916
secondary
#643B9F
accent
#3FE885
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476916

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

Preview Lab → · Contrast checker → · Palette generator →

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