#476416#476416

#476416 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.4% C 0.109 H 128.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#476416
RGBrgb(71, 100, 22)
HSLhsl(82, 64%, 24%)
HSVhsv(82, 78%, 39%)
CMYKcmyk(29%, 0%, 78%, 60.8%)
CIE-LABlab(38.75, -23.43, 38.29)
CIE-LCHlch(38.75, 44.89, 121.47°)
OKLaboklab(46.4% -0.0671 0.0855)
OKLCHoklch(46.4% 0.109 128.1)
XYZxyz(7.3005, 10.5117, 2.4032)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476416 #331664
analogous
#645A16 #476416 #206416
triadic
#476416 #164764 #641647
tetradic
#476416 #16645A #331664 #641620
square
#476416 #16645A #331664 #641620
split-complementary
#476416 #162064 #5A1664
monochromatic
#121906 #23320B #476416 #6B9621 #8EC82C

Accessibility & contrast

On white

6.77
#476416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#476416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476416
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476416#FFFFFF#000000##FFFFFF
##4764161.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C07
Deuteranopia (green-blind)
#655B1D
Tritanopia (blue-blind)
#4A5F55
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #476416;
/* rgb */ color: rgb(71, 100, 22);
/* oklch */ color: oklch(46.4% 0.109 128.1);
Tailwind
colors: {
  custom: {
    50: '#7d9059',
    500: '#476416',
    950: '#000000',
  },
}
SCSS
$custom: #476416;
$custom-light: #7d9059;
$custom-dark: #000000;
JSON
{
  "hex": "#476416",
  "rgb": {
    "r": 71,
    "g": 100,
    "b": 22
  },
  "hsl": {
    "h": 82.308,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46401,
    "c": 0.10865,
    "h": 128.1
  },
  "luminance": 0.10512
}

Semantic roles & 50–950 ramp

primary
#476416
secondary
#5F3B9B
accent
#41E77F
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #476416

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

Preview Lab → · Contrast checker → · Palette generator →

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