#476A34#476A34

#476A34 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.4% C 0.090 H 135.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#476A34
RGBrgb(71, 106, 52)
HSLhsl(99, 34%, 31%)
HSVhsv(99, 51%, 42%)
CMYKcmyk(33%, 0%, 50.9%, 58.4%)
CIE-LABlab(41.05, -23.43, 26.25)
CIE-LCHlch(41.05, 35.19, 131.75°)
OKLaboklab(48.37% -0.0645 0.0633)
OKLCHoklch(48.37% 0.09 135.5)
XYZxyz(8.3722, 11.8953, 5.1030)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A34 #57346A
analogous
#626A34 #476A34 #346A3C
triadic
#476A34 #34476A #6A3447
tetradic
#476A34 #34626A #57346A #6A3C34
square
#476A34 #34626A #57346A #6A3C34
split-complementary
#476A34 #3C346A #6A3462
monochromatic
#10180C #2B4120 #476A34 #639348 #81B365

Accessibility & contrast

On white

6.21
#476A34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#476A34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476A34
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476A34#FFFFFF#000000##FFFFFF
##476A341.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D632F
Deuteranopia (green-blind)
#686037
Tritanopia (blue-blind)
#46675D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #476a34;
/* rgb */ color: rgb(71, 106, 52);
/* oklch */ color: oklch(48.4% 0.090 135.5);
Tailwind
colors: {
  custom: {
    50: '#7c956d',
    500: '#476a34',
    950: '#000000',
  },
}
SCSS
$custom: #476a34;
$custom-light: #7c956d;
$custom-dark: #000000;
JSON
{
  "hex": "#476a34",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 52
  },
  "hsl": {
    "h": 98.889,
    "s": 34.177,
    "l": 30.98
  },
  "oklch": {
    "l": 0.48374,
    "c": 0.09037,
    "h": 135.5
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#476A34
secondary
#865F9B
accent
#5ECAA4
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#0A0D07
muted
#7C7E7A

Preview Lab

Preview with #476A34

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

Preview Lab → · Contrast checker → · Palette generator →

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