#476815#476815

#476815 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.44:1 contrast (WCAG AA passes).

Color values

HEX#476815
RGBrgb(71, 104, 21)
HSLhsl(84, 66%, 25%)
HSVhsv(84, 80%, 41%)
CMYKcmyk(31.7%, 0%, 79.8%, 59.2%)
CIE-LABlab(40.07, -25.49, 39.95)
CIE-LCHlch(40.07, 47.39, 122.54°)
OKLaboklab(47.48% -0.0728 0.0888)
OKLCHoklch(47.48% 0.115 129.3)
XYZxyz(7.6842, 11.2941, 2.4845)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476815 #361568
analogous
#686015 #476815 #1E6815
triadic
#476815 #154768 #681547
tetradic
#476815 #156860 #361568 #68151E
square
#476815 #156860 #361568 #68151E
split-complementary
#476815 #151E68 #601568
monochromatic
#111905 #24350B #476815 #6A9B1F #8DCE2A

Accessibility & contrast

On white

6.44
#476815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #476815
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476815#FFFFFF#000000##FFFFFF
##4768151.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #476815;
/* rgb */ color: rgb(71, 104, 21);
/* oklch */ color: oklch(47.5% 0.115 129.3);
Tailwind
colors: {
  custom: {
    50: '#7e935a',
    500: '#476815',
    950: '#000000',
  },
}
SCSS
$custom: #476815;
$custom-light: #7e935a;
$custom-dark: #000000;
JSON
{
  "hex": "#476815",
  "rgb": {
    "r": 71,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 83.855,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47478,
    "c": 0.11478,
    "h": 129.3
  },
  "luminance": 0.11294
}

Semantic roles & 50–950 ramp

primary
#476815
secondary
#623A9F
accent
#3EE982
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476815

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

Preview Lab → · Contrast checker → · Palette generator →

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