#476A31#476A31

#476A31 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.3% C 0.094 H 134.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#476A31
RGBrgb(71, 106, 49)
HSLhsl(97, 37%, 30%)
HSVhsv(97, 54%, 42%)
CMYKcmyk(33%, 0%, 53.8%, 58.4%)
CIE-LABlab(41.01, -23.83, 27.84)
CIE-LCHlch(41.01, 36.65, 130.56°)
OKLaboklab(48.33% -0.0658 0.0666)
OKLCHoklch(48.33% 0.094 134.7)
XYZxyz(8.3068, 11.8691, 4.7584)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A31 #54316A
analogous
#636A31 #476A31 #316A37
triadic
#476A31 #31476A #6A3147
tetradic
#476A31 #31636A #54316A #6A3731
square
#476A31 #31636A #54316A #6A3731
split-complementary
#476A31 #37316A #6A3163
monochromatic
#0F160A #2B401E #476A31 #639444 #81B560

Accessibility & contrast

On white

6.22
#476A31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#476A31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476A31
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476A31#FFFFFF#000000##FFFFFF
##476A311.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E632C
Deuteranopia (green-blind)
#696035
Tritanopia (blue-blind)
#47665D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #476a31;
/* rgb */ color: rgb(71, 106, 49);
/* oklch */ color: oklch(48.3% 0.094 134.7);
Tailwind
colors: {
  custom: {
    50: '#7c956a',
    500: '#476a31',
    950: '#000000',
  },
}
SCSS
$custom: #476a31;
$custom-light: #7c956a;
$custom-dark: #000000;
JSON
{
  "hex": "#476a31",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 49
  },
  "hsl": {
    "h": 96.842,
    "s": 36.774,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48326,
    "c": 0.09363,
    "h": 134.7
  },
  "luminance": 0.11869
}

Semantic roles & 50–950 ramp

primary
#476A31
secondary
#835C9B
accent
#5BCDA1
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #476A31

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

Preview Lab → · Contrast checker → · Palette generator →

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