#476820#476820

#476820 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.6% C 0.107 H 130.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#476820
RGBrgb(71, 104, 32)
HSLhsl(88, 53%, 27%)
HSVhsv(88, 69%, 41%)
CMYKcmyk(31.7%, 0%, 69.2%, 59.2%)
CIE-LABlab(40.15, -24.68, 35.46)
CIE-LCHlch(40.15, 43.20, 124.83°)
OKLaboklab(47.57% -0.0696 0.0811)
OKLCHoklch(47.57% 0.107 130.6)
XYZxyz(7.8095, 11.3443, 3.1444)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476820 #412068
analogous
#686520 #476820 #236820
triadic
#476820 #204768 #682047
tetradic
#476820 #206865 #412068 #682023
square
#476820 #206865 #412068 #682023
split-complementary
#476820 #202368 #652068
monochromatic
#101707 #273912 #476820 #67972E #87C43F

Accessibility & contrast

On white

6.42
#476820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#476820 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476820
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476820#FFFFFF#000000##FFFFFF
##4768201.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6016
Deuteranopia (green-blind)
#685E26
Tritanopia (blue-blind)
#496359
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #476820;
/* rgb */ color: rgb(71, 104, 32);
/* oklch */ color: oklch(47.6% 0.107 130.6);
Tailwind
colors: {
  custom: {
    50: '#7d935f',
    500: '#476820',
    950: '#000000',
  },
}
SCSS
$custom: #476820;
$custom-light: #7d935f;
$custom-dark: #000000;
JSON
{
  "hex": "#476820",
  "rgb": {
    "r": 71,
    "g": 104,
    "b": 32
  },
  "hsl": {
    "h": 87.5,
    "s": 52.941,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47572,
    "c": 0.10687,
    "h": 130.6
  },
  "luminance": 0.11345
}

Semantic roles & 50–950 ramp

primary
#476820
secondary
#6E489C
accent
#4BDC8E
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476820

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

Preview Lab → · Contrast checker → · Palette generator →

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