#476D2A#476D2A

#476D2A is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 49.0% C 0.105 H 133.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#476D2A
RGBrgb(71, 109, 42)
HSLhsl(94, 44%, 30%)
HSVhsv(94, 61%, 43%)
CMYKcmyk(34.9%, 0%, 61.5%, 57.3%)
CIE-LABlab(41.91, -26.16, 32.57)
CIE-LCHlch(41.91, 41.78, 128.77°)
OKLaboklab(49.03% -0.0728 0.0762)
OKLCHoklch(49.03% 0.105 133.7)
XYZxyz(8.4849, 12.4437, 4.1449)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476D2A #502A6D
analogous
#696D2A #476D2A #2A6D2F
triadic
#476D2A #2A476D #6D2A47
tetradic
#476D2A #2A696D #502A6D #6D2F2A
square
#476D2A #2A696D #502A6D #6D2F2A
split-complementary
#476D2A #2F2A6D #6D2A69
monochromatic
#0E1609 #2A4119 #476D2A #64993B #82BD54

Accessibility & contrast

On white

6.02
#476D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#476D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476D2A
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476D2A#FFFFFF#000000##FFFFFF
##476D2A1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716523
Deuteranopia (green-blind)
#6C622F
Tritanopia (blue-blind)
#47695E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #476d2a;
/* rgb */ color: rgb(71, 109, 42);
/* oklch */ color: oklch(49.0% 0.105 133.7);
Tailwind
colors: {
  custom: {
    50: '#7d9766',
    500: '#476d2a',
    950: '#000000',
  },
}
SCSS
$custom: #476d2a;
$custom-light: #7d9766;
$custom-dark: #000000;
JSON
{
  "hex": "#476d2a",
  "rgb": {
    "r": 71,
    "g": 109,
    "b": 42
  },
  "hsl": {
    "h": 94.03,
    "s": 44.371,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49034,
    "c": 0.10539,
    "h": 133.7
  },
  "luminance": 0.12444
}

Semantic roles & 50–950 ramp

primary
#476D2A
secondary
#7E549F
accent
#54D49D
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #476D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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