#476A2B#476A2B

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

Color values

HEX#476A2B
RGBrgb(71, 106, 43)
HSLhsl(93, 42%, 29%)
HSVhsv(93, 59%, 42%)
CMYKcmyk(33%, 0%, 59.4%, 58.4%)
CIE-LABlab(40.93, -24.56, 30.93)
CIE-LCHlch(40.93, 39.50, 128.46°)
OKLaboklab(48.24% -0.0683 0.0728)
OKLCHoklch(48.24% 0.1 133.2)
XYZxyz(8.1885, 11.8218, 4.1354)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A2B #4E2B6A
analogous
#676A2B #476A2B #2B6A2F
triadic
#476A2B #2B476A #6A2B47
tetradic
#476A2B #2B676A #4E2B6A #6A2F2B
square
#476A2B #2B676A #4E2B6A #6A2F2B
split-complementary
#476A2B #2F2B6A #6A2B67
monochromatic
#0F1609 #2A3E19 #476A2B #64963D #82BA55

Accessibility & contrast

On white

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

On black

3.36
#476A2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##476A2B#FFFFFF#000000##FFFFFF
##476A2B1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6225
Deuteranopia (green-blind)
#69602F
Tritanopia (blue-blind)
#47665C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #476a2b;
/* rgb */ color: rgb(71, 106, 43);
/* oklch */ color: oklch(48.2% 0.100 133.2);
Tailwind
colors: {
  custom: {
    50: '#7c9566',
    500: '#476a2b',
    950: '#000000',
  },
}
SCSS
$custom: #476a2b;
$custom-light: #7c9566;
$custom-dark: #000000;
JSON
{
  "hex": "#476a2b",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 43
  },
  "hsl": {
    "h": 93.333,
    "s": 42.282,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4824,
    "c": 0.09982,
    "h": 133.2
  },
  "luminance": 0.11822
}

Semantic roles & 50–950 ramp

primary
#476A2B
secondary
#7C559C
accent
#56D29B
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #476A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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