#476A2C#476A2C

#476A2C is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.3% C 0.099 H 133.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#476A2C
RGBrgb(71, 106, 44)
HSLhsl(94, 41%, 29%)
HSVhsv(94, 58%, 42%)
CMYKcmyk(33%, 0%, 58.5%, 58.4%)
CIE-LABlab(40.94, -24.45, 30.42)
CIE-LCHlch(40.94, 39.03, 128.79°)
OKLaboklab(48.25% -0.0679 0.0718)
OKLCHoklch(48.25% 0.099 133.4)
XYZxyz(8.2070, 11.8292, 4.2332)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A2C #4F2C6A
analogous
#666A2C #476A2C #2C6A30
triadic
#476A2C #2C476A #6A2C47
tetradic
#476A2C #2C666A #4F2C6A #6A302C
square
#476A2C #2C666A #4F2C6A #6A302C
split-complementary
#476A2C #302C6A #6A2C66
monochromatic
#0E1609 #2A3F1A #476A2C #64953E #82B957

Accessibility & contrast

On white

6.24
#476A2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #476A2C
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476A2C#FFFFFF#000000##FFFFFF
##476A2C1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6226
Deuteranopia (green-blind)
#696030
Tritanopia (blue-blind)
#47665C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #476a2c;
/* rgb */ color: rgb(71, 106, 44);
/* oklch */ color: oklch(48.3% 0.099 133.4);
Tailwind
colors: {
  custom: {
    50: '#7c9567',
    500: '#476a2c',
    950: '#000000',
  },
}
SCSS
$custom: #476a2c;
$custom-light: #7c9567;
$custom-dark: #000000;
JSON
{
  "hex": "#476a2c",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 44
  },
  "hsl": {
    "h": 93.871,
    "s": 41.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.48253,
    "c": 0.09882,
    "h": 133.4
  },
  "luminance": 0.1183
}

Semantic roles & 50–950 ramp

primary
#476A2C
secondary
#7D569C
accent
#57D19C
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #476A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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