#476813#476813

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

Color values

HEX#476813
RGBrgb(71, 104, 19)
HSLhsl(83, 69%, 24%)
HSVhsv(83, 82%, 41%)
CMYKcmyk(31.7%, 0%, 81.7%, 59.2%)
CIE-LABlab(40.06, -25.60, 40.65)
CIE-LCHlch(40.06, 48.04, 122.20°)
OKLaboklab(47.46% -0.0732 0.0899)
OKLCHoklch(47.46% 0.116 129.2)
XYZxyz(7.6664, 11.2870, 2.3907)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476813 #341368
analogous
#685F13 #476813 #1D6813
triadic
#476813 #134768 #681347
tetradic
#476813 #13685F #341368 #68131D
square
#476813 #13685F #341368 #68131D
split-complementary
#476813 #131D68 #5F1368
monochromatic
#121A05 #24340A #476813 #6A9C1C #8ECF26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476813#FFFFFF#000000##FFFFFF
##4768131.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)
#6D6000
Deuteranopia (green-blind)
#695E1C
Tritanopia (blue-blind)
#496358
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #476813;
/* rgb */ color: rgb(71, 104, 19);
/* oklch */ color: oklch(47.5% 0.116 129.2);
Tailwind
colors: {
  custom: {
    50: '#7e9359',
    500: '#476813',
    950: '#000000',
  },
}
SCSS
$custom: #476813;
$custom-light: #7e9359;
$custom-dark: #000000;
JSON
{
  "hex": "#476813",
  "rgb": {
    "r": 71,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 83.294,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.47464,
    "c": 0.11596,
    "h": 129.2
  },
  "luminance": 0.11287
}

Semantic roles & 50–950 ramp

primary
#476813
secondary
#60379F
accent
#3CEC80
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476813

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

Preview Lab → · Contrast checker → · Palette generator →

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