#476A1C#476A1C

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

Color values

HEX#476A1C
RGBrgb(71, 106, 28)
HSLhsl(87, 58%, 26%)
HSVhsv(87, 74%, 42%)
CMYKcmyk(33%, 0%, 73.6%, 58.4%)
CIE-LABlab(40.79, -25.99, 37.88)
CIE-LCHlch(40.79, 45.94, 124.45°)
OKLaboklab(48.07% -0.0735 0.0856)
OKLCHoklch(48.07% 0.113 130.7)
XYZxyz(7.9621, 11.7312, 2.9432)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A1C #3F1C6A
analogous
#6A661C #476A1C #206A1C
triadic
#476A1C #1C476A #6A1C47
tetradic
#476A1C #1C6A66 #3F1C6A #6A1C20
square
#476A1C #1C6A66 #3F1C6A #6A1C20
split-complementary
#476A1C #1C206A #661C6A
monochromatic
#101806 #273A0F #476A1C #679A29 #88CA36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476A1C#FFFFFF#000000##FFFFFF
##476A1C1.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)
#6F6210
Deuteranopia (green-blind)
#6A5F23
Tritanopia (blue-blind)
#49655B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #476a1c;
/* rgb */ color: rgb(71, 106, 28);
/* oklch */ color: oklch(48.1% 0.113 130.7);
Tailwind
colors: {
  custom: {
    50: '#7d955d',
    500: '#476a1c',
    950: '#000000',
  },
}
SCSS
$custom: #476a1c;
$custom-light: #7d955d;
$custom-dark: #000000;
JSON
{
  "hex": "#476a1c",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 28
  },
  "hsl": {
    "h": 86.923,
    "s": 58.209,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48074,
    "c": 0.11285,
    "h": 130.7
  },
  "luminance": 0.11732
}

Semantic roles & 50–950 ramp

primary
#476A1C
secondary
#6C439F
accent
#46E18C
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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