#476A26#476A26

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

Color values

HEX#476A26
RGBrgb(71, 106, 38)
HSLhsl(91, 47%, 28%)
HSVhsv(91, 64%, 42%)
CMYKcmyk(33%, 0%, 64.2%, 58.4%)
CIE-LABlab(40.88, -25.10, 33.39)
CIE-LCHlch(40.88, 41.77, 126.94°)
OKLaboklab(48.18% -0.0702 0.0775)
OKLCHoklch(48.18% 0.105 132.2)
XYZxyz(8.1023, 11.7873, 3.6816)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A26 #49266A
analogous
#696A26 #476A26 #266A27
triadic
#476A26 #26476A #6A2647
tetradic
#476A26 #26696A #49266A #6A2726
square
#476A26 #26696A #49266A #6A2726
split-complementary
#476A26 #27266A #6A2669
monochromatic
#0F1708 #293D16 #476A26 #659736 #84BF4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476A26#FFFFFF#000000##FFFFFF
##476A261.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)
#6E621E
Deuteranopia (green-blind)
#6A5F2B
Tritanopia (blue-blind)
#48665C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #476a26;
/* rgb */ color: rgb(71, 106, 38);
/* oklch */ color: oklch(48.2% 0.105 132.2);
Tailwind
colors: {
  custom: {
    50: '#7d9563',
    500: '#476a26',
    950: '#000000',
  },
}
SCSS
$custom: #476a26;
$custom-light: #7d9563;
$custom-dark: #000000;
JSON
{
  "hex": "#476a26",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 38
  },
  "hsl": {
    "h": 90.882,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48177,
    "c": 0.10459,
    "h": 132.2
  },
  "luminance": 0.11788
}

Semantic roles & 50–950 ramp

primary
#476A26
secondary
#774F9D
accent
#51D796
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#0A0D05
muted
#7C7E7A

Preview Lab

Preview with #476A26

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

Preview Lab → · Contrast checker → · Palette generator →

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