#476F20#476F20

#476F20 is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.5% C 0.117 H 132.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#476F20
RGBrgb(71, 111, 32)
HSLhsl(90, 55%, 28%)
HSVhsv(90, 71%, 44%)
CMYKcmyk(36%, 0%, 71.2%, 56.5%)
CIE-LABlab(42.48, -28.09, 37.91)
CIE-LCHlch(42.48, 47.18, 126.53°)
OKLaboklab(49.46% -0.0789 0.0863)
OKLCHoklch(49.46% 0.117 132.4)
XYZxyz(8.5436, 12.8124, 3.3891)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476F20 #48206F
analogous
#6E6F20 #476F20 #206F20
triadic
#476F20 #20476F #6F2047
tetradic
#476F20 #206E6F #48206F #6F2020
square
#476F20 #206E6F #48206F #6F2020
split-complementary
#476F20 #20206F #6F206E
monochromatic
#0F1807 #293F12 #476F20 #659F2E #84C841

Accessibility & contrast

On white

5.89
#476F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#476F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476F20
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476F20#FFFFFF#000000##FFFFFF
##476F201.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746615
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#486A5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #476f20;
/* rgb */ color: rgb(71, 111, 32);
/* oklch */ color: oklch(49.5% 0.117 132.4);
Tailwind
colors: {
  custom: {
    50: '#7e9860',
    500: '#476f20',
    950: '#000000',
  },
}
SCSS
$custom: #476f20;
$custom-light: #7e9860;
$custom-dark: #000000;
JSON
{
  "hex": "#476f20",
  "rgb": {
    "r": 71,
    "g": 111,
    "b": 32
  },
  "hsl": {
    "h": 90.38,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49464,
    "c": 0.11692,
    "h": 132.4
  },
  "luminance": 0.12813
}

Semantic roles & 50–950 ramp

primary
#476F20
secondary
#7648A3
accent
#49DF95
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476F20

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

Preview Lab → · Contrast checker → · Palette generator →

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