#476A1B#476A1B

#476A1B is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.1% C 0.114 H 130.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#476A1B
RGBrgb(71, 106, 27)
HSLhsl(87, 59%, 26%)
HSVhsv(87, 75%, 42%)
CMYKcmyk(33%, 0%, 74.5%, 58.4%)
CIE-LABlab(40.78, -26.07, 38.29)
CIE-LCHlch(40.78, 46.32, 124.24°)
OKLaboklab(48.07% -0.0738 0.0863)
OKLCHoklch(48.07% 0.114 130.5)
XYZxyz(7.9503, 11.7265, 2.8813)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A1B #3E1B6A
analogous
#6A651B #476A1B #206A1B
triadic
#476A1B #1B476A #6A1B47
tetradic
#476A1B #1B6A65 #3E1B6A #6A1B20
square
#476A1B #1B6A65 #3E1B6A #6A1B20
split-complementary
#476A1B #1B206A #651B6A
monochromatic
#101806 #26390F #476A1B #689B27 #88CB34

Accessibility & contrast

On white

6.28
#476A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#476A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476A1B
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476A1B#FFFFFF#000000##FFFFFF
##476A1B1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F620E
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#49655A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #476a1b;
/* rgb */ color: rgb(71, 106, 27);
/* oklch */ color: oklch(48.1% 0.114 130.5);
Tailwind
colors: {
  custom: {
    50: '#7d955d',
    500: '#476a1b',
    950: '#000000',
  },
}
SCSS
$custom: #476a1b;
$custom-light: #7d955d;
$custom-dark: #000000;
JSON
{
  "hex": "#476a1b",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 27
  },
  "hsl": {
    "h": 86.582,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48066,
    "c": 0.11358,
    "h": 130.5
  },
  "luminance": 0.11727
}

Semantic roles & 50–950 ramp

primary
#476A1B
secondary
#6B429F
accent
#45E38B
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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