#476116#476116

#476116 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.6% C 0.104 H 127.0°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#476116
RGBrgb(71, 97, 22)
HSLhsl(81, 63%, 23%)
HSVhsv(81, 77%, 38%)
CMYKcmyk(26.8%, 0%, 77.3%, 62%)
CIE-LABlab(37.75, -21.90, 37.31)
CIE-LCHlch(37.75, 43.26, 120.42°)
OKLaboklab(45.59% -0.0629 0.0834)
OKLCHoklch(45.59% 0.104 127)
XYZxyz(7.0181, 9.9468, 2.3091)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476116 #301661
analogous
#615516 #476116 #216116
triadic
#476116 #164761 #611647
tetradic
#476116 #166155 #301661 #611621
square
#476116 #166155 #301661 #611621
split-complementary
#476116 #162161 #551661
monochromatic
#121906 #222F0B #476116 #6C9321 #90C52D

Accessibility & contrast

On white

7.02
#476116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#476116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #476116
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476116#FFFFFF#000000##FFFFFF
##4761161.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A08
Deuteranopia (green-blind)
#63581D
Tritanopia (blue-blind)
#4A5C52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #476116;
/* rgb */ color: rgb(71, 97, 22);
/* oklch */ color: oklch(45.6% 0.104 127.0);
Tailwind
colors: {
  custom: {
    50: '#7d8e59',
    500: '#476116',
    950: '#000000',
  },
}
SCSS
$custom: #476116;
$custom-light: #7d8e59;
$custom-dark: #000000;
JSON
{
  "hex": "#476116",
  "rgb": {
    "r": 71,
    "g": 97,
    "b": 22
  },
  "hsl": {
    "h": 80.8,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45591,
    "c": 0.10447,
    "h": 127
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

primary
#476116
secondary
#5B3B98
accent
#42E67B
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #476116

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

Preview Lab → · Contrast checker → · Palette generator →

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