#476A1A#476A1A

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

Color values

HEX#476A1A
RGBrgb(71, 106, 26)
HSLhsl(86, 61%, 26%)
HSVhsv(86, 75%, 42%)
CMYKcmyk(33%, 0%, 75.5%, 58.4%)
CIE-LABlab(40.77, -26.14, 38.70)
CIE-LCHlch(40.77, 46.70, 124.04°)
OKLaboklab(48.06% -0.0741 0.087)
OKLCHoklch(48.06% 0.114 130.4)
XYZxyz(7.9390, 11.7220, 2.8214)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A1A #3D1A6A
analogous
#6A651A #476A1A #1F6A1A
triadic
#476A1A #1A476A #6A1A47
tetradic
#476A1A #1A6A65 #3D1A6A #6A1A1F
square
#476A1A #1A6A65 #3D1A6A #6A1A1F
split-complementary
#476A1A #1A1F6A #651A6A
monochromatic
#101906 #26390E #476A1A #689B26 #89CC32

Accessibility & contrast

On white

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

On black

3.34
#476A1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##476A1A#FFFFFF#000000##FFFFFF
##476A1A1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #476a1a;
/* rgb */ color: rgb(71, 106, 26);
/* oklch */ color: oklch(48.1% 0.114 130.4);
Tailwind
colors: {
  custom: {
    50: '#7d955c',
    500: '#476a1a',
    950: '#000000',
  },
}
SCSS
$custom: #476a1a;
$custom-light: #7d955c;
$custom-dark: #000000;
JSON
{
  "hex": "#476a1a",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 26
  },
  "hsl": {
    "h": 86.25,
    "s": 60.606,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48058,
    "c": 0.11428,
    "h": 130.4
  },
  "luminance": 0.11722
}

Semantic roles & 50–950 ramp

primary
#476A1A
secondary
#6A409F
accent
#44E48A
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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