#476A28#476A28

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

Color values

HEX#476A28
RGBrgb(71, 106, 40)
HSLhsl(92, 45%, 29%)
HSVhsv(92, 62%, 42%)
CMYKcmyk(33%, 0%, 62.3%, 58.4%)
CIE-LABlab(40.90, -24.90, 32.42)
CIE-LCHlch(40.90, 40.88, 127.52°)
OKLaboklab(48.2% -0.0695 0.0757)
OKLCHoklch(48.2% 0.103 132.5)
XYZxyz(8.1354, 11.8006, 3.8562)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A28 #4B286A
analogous
#686A28 #476A28 #286A2A
triadic
#476A28 #28476A #6A2847
tetradic
#476A28 #28686A #4B286A #6A2A28
square
#476A28 #28686A #4B286A #6A2A28
split-complementary
#476A28 #2A286A #6A2868
monochromatic
#0F1608 #293E17 #476A28 #659639 #83BD50

Accessibility & contrast

On white

6.25
#476A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #476A28
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476A28#FFFFFF#000000##FFFFFF
##476A281.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6221
Deuteranopia (green-blind)
#695F2D
Tritanopia (blue-blind)
#48665C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #476a28;
/* rgb */ color: rgb(71, 106, 40);
/* oklch */ color: oklch(48.2% 0.103 132.5);
Tailwind
colors: {
  custom: {
    50: '#7d9565',
    500: '#476a28',
    950: '#000000',
  },
}
SCSS
$custom: #476a28;
$custom-light: #7d9565;
$custom-dark: #000000;
JSON
{
  "hex": "#476a28",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 40
  },
  "hsl": {
    "h": 91.818,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48201,
    "c": 0.10273,
    "h": 132.5
  },
  "luminance": 0.11801
}

Semantic roles & 50–950 ramp

primary
#476A28
secondary
#79519D
accent
#53D598
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #476A28

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

Preview Lab → · Contrast checker → · Palette generator →

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