#476811#476811

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

Color values

HEX#476811
RGBrgb(71, 104, 17)
HSLhsl(83, 72%, 24%)
HSVhsv(83, 84%, 41%)
CMYKcmyk(31.7%, 0%, 83.7%, 59.2%)
CIE-LABlab(40.05, -25.71, 41.31)
CIE-LCHlch(40.05, 48.66, 121.90°)
OKLaboklab(47.45% -0.0737 0.0909)
OKLCHoklch(47.45% 0.117 129)
XYZxyz(7.6500, 11.2805, 2.3045)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476811 #321168
analogous
#685D11 #476811 #1B6811
triadic
#476811 #114768 #681147
tetradic
#476811 #11685D #321168 #68111B
square
#476811 #11685D #321168 #68111B
split-complementary
#476811 #111B68 #5D1168
monochromatic
#121A04 #233308 #476811 #6B9D1A #8FD122

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476811#FFFFFF#000000##FFFFFF
##4768111.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)
#695E1A
Tritanopia (blue-blind)
#496358
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #476811;
/* rgb */ color: rgb(71, 104, 17);
/* oklch */ color: oklch(47.5% 0.117 129.0);
Tailwind
colors: {
  custom: {
    50: '#7e9358',
    500: '#476811',
    950: '#000000',
  },
}
SCSS
$custom: #476811;
$custom-light: #7e9358;
$custom-dark: #000000;
JSON
{
  "hex": "#476811",
  "rgb": {
    "r": 71,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 82.759,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.47452,
    "c": 0.11704,
    "h": 129
  },
  "luminance": 0.11281
}

Semantic roles & 50–950 ramp

primary
#476811
secondary
#5D35A0
accent
#39EF7E
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476811

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

Preview Lab → · Contrast checker → · Palette generator →

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