#476A20#476A20

#476A20 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.1% C 0.110 H 131.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#476A20
RGBrgb(71, 106, 32)
HSLhsl(88, 54%, 27%)
HSVhsv(88, 70%, 42%)
CMYKcmyk(33%, 0%, 69.8%, 58.4%)
CIE-LABlab(40.82, -25.67, 36.16)
CIE-LCHlch(40.82, 44.35, 125.36°)
OKLaboklab(48.11% -0.0723 0.0826)
OKLCHoklch(48.11% 0.11 131.2)
XYZxyz(8.0132, 11.7517, 3.2123)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A20 #43206A
analogous
#6A6820 #476A20 #226A20
triadic
#476A20 #20476A #6A2047
tetradic
#476A20 #206A68 #43206A #6A2022
square
#476A20 #206A68 #43206A #6A2022
split-complementary
#476A20 #20226A #68206A
monochromatic
#101807 #283B12 #476A20 #66992E #86C53F

Accessibility & contrast

On white

6.27
#476A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#476A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476A20
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476A20#FFFFFF#000000##FFFFFF
##476A201.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6216
Deuteranopia (green-blind)
#6A5F26
Tritanopia (blue-blind)
#48655B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #476a20;
/* rgb */ color: rgb(71, 106, 32);
/* oklch */ color: oklch(48.1% 0.110 131.2);
Tailwind
colors: {
  custom: {
    50: '#7d9560',
    500: '#476a20',
    950: '#000000',
  },
}
SCSS
$custom: #476a20;
$custom-light: #7d9560;
$custom-dark: #000000;
JSON
{
  "hex": "#476a20",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 32
  },
  "hsl": {
    "h": 88.378,
    "s": 53.623,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48112,
    "c": 0.10977,
    "h": 131.2
  },
  "luminance": 0.11752
}

Semantic roles & 50–950 ramp

primary
#476A20
secondary
#71489E
accent
#4BDD90
background
#F7F9F5
surface
#EEF1EA
border
#C9CBC6
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476A20

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

Preview Lab → · Contrast checker → · Palette generator →

#476A20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva