#476814#476814

#476814 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.5% C 0.115 H 129.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#476814
RGBrgb(71, 104, 20)
HSLhsl(84, 68%, 24%)
HSVhsv(84, 81%, 41%)
CMYKcmyk(31.7%, 0%, 80.8%, 59.2%)
CIE-LABlab(40.07, -25.55, 40.30)
CIE-LCHlch(40.07, 47.72, 122.37°)
OKLaboklab(47.47% -0.073 0.0893)
OKLCHoklch(47.47% 0.115 129.3)
XYZxyz(7.6751, 11.2905, 2.4366)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476814 #351468
analogous
#685F14 #476814 #1D6814
triadic
#476814 #144768 #681447
tetradic
#476814 #14685F #351468 #68141D
square
#476814 #14685F #351468 #68141D
split-complementary
#476814 #141D68 #5F1468
monochromatic
#121A05 #24350A #476814 #6A9B1E #8DCF28

Accessibility & contrast

On white

6.45
#476814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#476814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476814
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476814#FFFFFF#000000##FFFFFF
##4768141.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6001
Deuteranopia (green-blind)
#695E1D
Tritanopia (blue-blind)
#496358
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #476814;
/* rgb */ color: rgb(71, 104, 20);
/* oklch */ color: oklch(47.5% 0.115 129.3);
Tailwind
colors: {
  custom: {
    50: '#7e9359',
    500: '#476814',
    950: '#000000',
  },
}
SCSS
$custom: #476814;
$custom-light: #7e9359;
$custom-dark: #000000;
JSON
{
  "hex": "#476814",
  "rgb": {
    "r": 71,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 83.571,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47471,
    "c": 0.11538,
    "h": 129.3
  },
  "luminance": 0.11291
}

Semantic roles & 50–950 ramp

primary
#476814
secondary
#61399F
accent
#3DEB81
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476814

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

Preview Lab → · Contrast checker → · Palette generator →

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