#476A2F#476A2F

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

Color values

HEX#476A2F
RGBrgb(71, 106, 47)
HSLhsl(96, 39%, 30%)
HSVhsv(96, 56%, 42%)
CMYKcmyk(33%, 0%, 55.7%, 58.4%)
CIE-LABlab(40.98, -24.09, 28.88)
CIE-LCHlch(40.98, 37.61, 129.82°)
OKLaboklab(48.3% -0.0666 0.0687)
OKLCHoklch(48.3% 0.096 134.1)
XYZxyz(8.2655, 11.8526, 4.5411)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A2F #522F6A
analogous
#656A2F #476A2F #2F6A34
triadic
#476A2F #2F476A #6A2F47
tetradic
#476A2F #2F656A #522F6A #6A342F
square
#476A2F #2F656A #522F6A #6A342F
split-complementary
#476A2F #342F6A #6A2F65
monochromatic
#0E1509 #2B401C #476A2F #639442 #81B75C

Accessibility & contrast

On white

6.23
#476A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #476A2F
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476A2F#FFFFFF#000000##FFFFFF
##476A2F1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #476a2f;
/* rgb */ color: rgb(71, 106, 47);
/* oklch */ color: oklch(48.3% 0.096 134.1);
Tailwind
colors: {
  custom: {
    50: '#7c9569',
    500: '#476a2f',
    950: '#000000',
  },
}
SCSS
$custom: #476a2f;
$custom-light: #7c9569;
$custom-dark: #000000;
JSON
{
  "hex": "#476a2f",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 47
  },
  "hsl": {
    "h": 95.593,
    "s": 38.562,
    "l": 30
  },
  "oklch": {
    "l": 0.48296,
    "c": 0.09574,
    "h": 134.1
  },
  "luminance": 0.11853
}

Semantic roles & 50–950 ramp

primary
#476A2F
secondary
#81599B
accent
#59CE9F
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #476A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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