#476D2C#476D2C

#476D2C is a mid, moderate yellow-green. Relative luminance 0.125; OKLCH L 49.1% C 0.103 H 134.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#476D2C
RGBrgb(71, 109, 44)
HSLhsl(95, 42%, 30%)
HSVhsv(95, 60%, 43%)
CMYKcmyk(34.9%, 0%, 59.6%, 57.3%)
CIE-LABlab(41.94, -25.94, 31.58)
CIE-LCHlch(41.94, 40.87, 129.40°)
OKLaboklab(49.06% -0.072 0.0743)
OKLCHoklch(49.06% 0.103 134.1)
XYZxyz(8.5216, 12.4584, 4.3381)
Luminance0.1246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476D2C #522C6D
analogous
#686D2C #476D2C #2C6D31
triadic
#476D2C #2C476D #6D2C47
tetradic
#476D2C #2C686D #522C6D #6D312C
square
#476D2C #2C686D #522C6D #6D312C
split-complementary
#476D2C #312C6D #6D2C68
monochromatic
#0E1609 #2B411A #476D2C #63993E #81BC58

Accessibility & contrast

On white

6.01
#476D2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #476D2C
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476D2C#FFFFFF#000000##FFFFFF
##476D2C1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716525
Deuteranopia (green-blind)
#6C6231
Tritanopia (blue-blind)
#47695F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #476d2c;
/* rgb */ color: rgb(71, 109, 44);
/* oklch */ color: oklch(49.1% 0.103 134.1);
Tailwind
colors: {
  custom: {
    50: '#7d9767',
    500: '#476d2c',
    950: '#000000',
  },
}
SCSS
$custom: #476d2c;
$custom-light: #7d9767;
$custom-dark: #000000;
JSON
{
  "hex": "#476d2c",
  "rgb": {
    "r": 71,
    "g": 109,
    "b": 44
  },
  "hsl": {
    "h": 95.077,
    "s": 42.484,
    "l": 30
  },
  "oklch": {
    "l": 0.4906,
    "c": 0.10346,
    "h": 134.1
  },
  "luminance": 0.12459
}

Semantic roles & 50–950 ramp

primary
#476D2C
secondary
#81569F
accent
#56D29E
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #476D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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