#476516#476516

#476516 is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.7% C 0.110 H 128.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#476516
RGBrgb(71, 101, 22)
HSLhsl(83, 64%, 24%)
HSVhsv(83, 78%, 40%)
CMYKcmyk(29.7%, 0%, 78.2%, 60.4%)
CIE-LABlab(39.08, -23.93, 38.61)
CIE-LCHlch(39.08, 45.43, 121.79°)
OKLaboklab(46.67% -0.0685 0.0861)
OKLCHoklch(46.67% 0.11 128.5)
XYZxyz(7.3970, 10.7047, 2.4354)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476516 #341665
analogous
#655C16 #476516 #206516
triadic
#476516 #164765 #651647
tetradic
#476516 #16655C #341665 #651620
square
#476516 #16655C #341665 #651620
split-complementary
#476516 #162065 #5C1665
monochromatic
#121905 #24330B #476516 #6A9721 #8ECA2C

Accessibility & contrast

On white

6.69
#476516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#476516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476516
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476516#FFFFFF#000000##FFFFFF
##4765161.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D06
Deuteranopia (green-blind)
#665B1D
Tritanopia (blue-blind)
#4A6056
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #476516;
/* rgb */ color: rgb(71, 101, 22);
/* oklch */ color: oklch(46.7% 0.110 128.5);
Tailwind
colors: {
  custom: {
    50: '#7d915a',
    500: '#476516',
    950: '#000000',
  },
}
SCSS
$custom: #476516;
$custom-light: #7d915a;
$custom-dark: #000000;
JSON
{
  "hex": "#476516",
  "rgb": {
    "r": 71,
    "g": 101,
    "b": 22
  },
  "hsl": {
    "h": 82.785,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46672,
    "c": 0.11003,
    "h": 128.5
  },
  "luminance": 0.10705
}

Semantic roles & 50–950 ramp

primary
#476516
secondary
#603B9C
accent
#41E780
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #476516

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

Preview Lab → · Contrast checker → · Palette generator →

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