#476A27#476A27

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

Color values

HEX#476A27
RGBrgb(71, 106, 39)
HSLhsl(91, 46%, 28%)
HSVhsv(91, 63%, 42%)
CMYKcmyk(33%, 0%, 63.2%, 58.4%)
CIE-LABlab(40.89, -25.00, 32.91)
CIE-LCHlch(40.89, 41.33, 127.22°)
OKLaboklab(48.19% -0.0698 0.0766)
OKLCHoklch(48.19% 0.104 132.3)
XYZxyz(8.1187, 11.7939, 3.7677)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A27 #4A276A
analogous
#686A27 #476A27 #276A28
triadic
#476A27 #27476A #6A2747
tetradic
#476A27 #27686A #4A276A #6A2827
square
#476A27 #27686A #4A276A #6A2827
split-complementary
#476A27 #28276A #6A2768
monochromatic
#0F1608 #293D17 #476A27 #659737 #83BE4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476A27#FFFFFF#000000##FFFFFF
##476A271.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)
#6E6220
Deuteranopia (green-blind)
#695F2C
Tritanopia (blue-blind)
#48665C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #476a27;
/* rgb */ color: rgb(71, 106, 39);
/* oklch */ color: oklch(48.2% 0.104 132.3);
Tailwind
colors: {
  custom: {
    50: '#7d9564',
    500: '#476a27',
    950: '#000000',
  },
}
SCSS
$custom: #476a27;
$custom-light: #7d9564;
$custom-dark: #000000;
JSON
{
  "hex": "#476a27",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 39
  },
  "hsl": {
    "h": 91.343,
    "s": 46.207,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48189,
    "c": 0.10367,
    "h": 132.3
  },
  "luminance": 0.11794
}

Semantic roles & 50–950 ramp

primary
#476A27
secondary
#78509D
accent
#52D697
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#0A0D05
muted
#7C7E7A

Preview Lab

Preview with #476A27

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

Preview Lab → · Contrast checker → · Palette generator →

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