#476D20#476D20

#476D20 is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 48.9% C 0.114 H 132.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#476D20
RGBrgb(71, 109, 32)
HSLhsl(90, 55%, 28%)
HSVhsv(90, 71%, 43%)
CMYKcmyk(34.9%, 0%, 70.6%, 57.3%)
CIE-LABlab(41.81, -27.13, 37.22)
CIE-LCHlch(41.81, 46.05, 126.09°)
OKLaboklab(48.92% -0.0763 0.0848)
OKLCHoklch(48.92% 0.114 132)
XYZxyz(8.3278, 12.3808, 3.3172)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476D20 #46206D
analogous
#6D6C20 #476D20 #216D20
triadic
#476D20 #20476D #6D2047
tetradic
#476D20 #206D6C #46206D #6D2021
square
#476D20 #206D6C #46206D #6D2021
split-complementary
#476D20 #20216D #6C206D
monochromatic
#0F1807 #283E12 #476D20 #669C2E #85C740

Accessibility & contrast

On white

6.04
#476D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#476D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476D20
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476D20#FFFFFF#000000##FFFFFF
##476D201.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726515
Deuteranopia (green-blind)
#6D6226
Tritanopia (blue-blind)
#48685D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #476d20;
/* rgb */ color: rgb(71, 109, 32);
/* oklch */ color: oklch(48.9% 0.114 132.0);
Tailwind
colors: {
  custom: {
    50: '#7d9760',
    500: '#476d20',
    950: '#000000',
  },
}
SCSS
$custom: #476d20;
$custom-light: #7d9760;
$custom-dark: #000000;
JSON
{
  "hex": "#476d20",
  "rgb": {
    "r": 71,
    "g": 109,
    "b": 32
  },
  "hsl": {
    "h": 89.61,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48923,
    "c": 0.11408,
    "h": 132
  },
  "luminance": 0.12381
}

Semantic roles & 50–950 ramp

primary
#476D20
secondary
#7448A1
accent
#4ADE93
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476D20

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

Preview Lab → · Contrast checker → · Palette generator →

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