#476B1B#476B1B

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

Color values

HEX#476B1B
RGBrgb(71, 107, 27)
HSLhsl(87, 60%, 26%)
HSVhsv(87, 75%, 42%)
CMYKcmyk(33.6%, 0%, 74.8%, 58%)
CIE-LABlab(41.11, -26.55, 38.63)
CIE-LCHlch(41.11, 46.88, 124.50°)
OKLaboklab(48.34% -0.0752 0.087)
OKLCHoklch(48.34% 0.115 130.8)
XYZxyz(8.0540, 11.9338, 2.9158)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476B1B #3F1B6B
analogous
#6B671B #476B1B #1F6B1B
triadic
#476B1B #1B476B #6B1B47
tetradic
#476B1B #1B6B67 #3F1B6B #6B1B1F
square
#476B1B #1B6B67 #3F1B6B #6B1B1F
split-complementary
#476B1B #1B1F6B #671B6B
monochromatic
#101806 #273A0F #476B1B #679C27 #88CC35

Accessibility & contrast

On white

6.20
#476B1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#476B1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476B1B
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476B1B#FFFFFF#000000##FFFFFF
##476B1B1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70630E
Deuteranopia (green-blind)
#6B6022
Tritanopia (blue-blind)
#49665B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #476b1b;
/* rgb */ color: rgb(71, 107, 27);
/* oklch */ color: oklch(48.3% 0.115 130.8);
Tailwind
colors: {
  custom: {
    50: '#7e955d',
    500: '#476b1b',
    950: '#000000',
  },
}
SCSS
$custom: #476b1b;
$custom-light: #7e955d;
$custom-dark: #000000;
JSON
{
  "hex": "#476b1b",
  "rgb": {
    "r": 71,
    "g": 107,
    "b": 27
  },
  "hsl": {
    "h": 87,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48337,
    "c": 0.11498,
    "h": 130.8
  },
  "luminance": 0.11934
}

Semantic roles & 50–950 ramp

primary
#476B1B
secondary
#6C42A0
accent
#45E38C
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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