#476E20#476E20

#476E20 is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.2% C 0.116 H 132.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#476E20
RGBrgb(71, 110, 32)
HSLhsl(90, 55%, 28%)
HSVhsv(90, 71%, 43%)
CMYKcmyk(35.5%, 0%, 70.9%, 56.9%)
CIE-LABlab(42.15, -27.61, 37.57)
CIE-LCHlch(42.15, 46.62, 126.31°)
OKLaboklab(49.19% -0.0776 0.0856)
OKLCHoklch(49.19% 0.116 132.2)
XYZxyz(8.4351, 12.5954, 3.3529)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476E20 #47206E
analogous
#6E6E20 #476E20 #206E20
triadic
#476E20 #20476E #6E2047
tetradic
#476E20 #206E6E #47206E #6E2020
square
#476E20 #206E6E #47206E #6E2020
split-complementary
#476E20 #20206E #6E206E
monochromatic
#0F1807 #283F12 #476E20 #669D2E #84C841

Accessibility & contrast

On white

5.97
#476E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#476E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476E20
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476E20#FFFFFF#000000##FFFFFF
##476E201.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736515
Deuteranopia (green-blind)
#6D6227
Tritanopia (blue-blind)
#48695E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #476e20;
/* rgb */ color: rgb(71, 110, 32);
/* oklch */ color: oklch(49.2% 0.116 132.2);
Tailwind
colors: {
  custom: {
    50: '#7e9860',
    500: '#476e20',
    950: '#000000',
  },
}
SCSS
$custom: #476e20;
$custom-light: #7e9860;
$custom-dark: #000000;
JSON
{
  "hex": "#476e20",
  "rgb": {
    "r": 71,
    "g": 110,
    "b": 32
  },
  "hsl": {
    "h": 90,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49194,
    "c": 0.1155,
    "h": 132.2
  },
  "luminance": 0.12596
}

Semantic roles & 50–950 ramp

primary
#476E20
secondary
#7548A2
accent
#4ADE94
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476E20

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

Preview Lab → · Contrast checker → · Palette generator →

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