#476B20#476B20

#476B20 is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.4% C 0.111 H 131.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#476B20
RGBrgb(71, 107, 32)
HSLhsl(89, 54%, 27%)
HSVhsv(89, 70%, 42%)
CMYKcmyk(33.6%, 0%, 70.1%, 58%)
CIE-LABlab(41.15, -26.16, 36.52)
CIE-LCHlch(41.15, 44.92, 125.61°)
OKLaboklab(48.38% -0.0736 0.0833)
OKLCHoklch(48.38% 0.111 131.5)
XYZxyz(8.1169, 11.9590, 3.2469)
Luminance0.1196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476B20 #44206B
analogous
#6B6A20 #476B20 #226B20
triadic
#476B20 #20476B #6B2047
tetradic
#476B20 #206B6A #44206B #6B2022
square
#476B20 #206B6A #44206B #6B2022
split-complementary
#476B20 #20226B #6A206B
monochromatic
#101807 #283C12 #476B20 #669A2E #85C640

Accessibility & contrast

On white

6.19
#476B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#476B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476B20
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476B20#FFFFFF#000000##FFFFFF
##476B201.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706316
Deuteranopia (green-blind)
#6B6026
Tritanopia (blue-blind)
#48665C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #476b20;
/* rgb */ color: rgb(71, 107, 32);
/* oklch */ color: oklch(48.4% 0.111 131.5);
Tailwind
colors: {
  custom: {
    50: '#7d9560',
    500: '#476b20',
    950: '#000000',
  },
}
SCSS
$custom: #476b20;
$custom-light: #7d9560;
$custom-dark: #000000;
JSON
{
  "hex": "#476b20",
  "rgb": {
    "r": 71,
    "g": 107,
    "b": 32
  },
  "hsl": {
    "h": 88.8,
    "s": 53.957,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48382,
    "c": 0.11121,
    "h": 131.5
  },
  "luminance": 0.11959
}

Semantic roles & 50–950 ramp

primary
#476B20
secondary
#72489F
accent
#4ADD91
background
#F7F9F5
surface
#EEF1EA
border
#C9CBC6
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476B20

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

Preview Lab → · Contrast checker → · Palette generator →

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