#476216#476216

#476216 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.9% C 0.106 H 127.4°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#476216
RGBrgb(71, 98, 22)
HSLhsl(81, 63%, 24%)
HSVhsv(81, 78%, 38%)
CMYKcmyk(27.6%, 0%, 77.6%, 61.6%)
CIE-LABlab(38.08, -22.42, 37.63)
CIE-LCHlch(38.08, 43.80, 120.78°)
OKLaboklab(45.86% -0.0643 0.0841)
OKLCHoklch(45.86% 0.106 127.4)
XYZxyz(7.1110, 10.1327, 2.3401)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476216 #311662
analogous
#625716 #476216 #216216
triadic
#476216 #164762 #621647
tetradic
#476216 #166257 #311662 #621621
square
#476216 #166257 #311662 #621621
split-complementary
#476216 #162162 #571662
monochromatic
#121906 #23300B #476216 #6B9421 #8FC62C

Accessibility & contrast

On white

6.94
#476216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#476216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476216
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476216#FFFFFF#000000##FFFFFF
##4762161.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B08
Deuteranopia (green-blind)
#64591D
Tritanopia (blue-blind)
#4A5D53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #476216;
/* rgb */ color: rgb(71, 98, 22);
/* oklch */ color: oklch(45.9% 0.106 127.4);
Tailwind
colors: {
  custom: {
    50: '#7d8e59',
    500: '#476216',
    950: '#000000',
  },
}
SCSS
$custom: #476216;
$custom-light: #7d8e59;
$custom-dark: #000000;
JSON
{
  "hex": "#476216",
  "rgb": {
    "r": 71,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 81.316,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45861,
    "c": 0.10587,
    "h": 127.4
  },
  "luminance": 0.10133
}

Semantic roles & 50–950 ramp

primary
#476216
secondary
#5C3B99
accent
#41E67C
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #476216

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

Preview Lab → · Contrast checker → · Palette generator →

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