#476E2D#476E2D

#476E2D is a mid, moderate yellow-green. Relative luminance 0.127; OKLCH L 49.3% C 0.104 H 134.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#476E2D
RGBrgb(71, 110, 45)
HSLhsl(96, 42%, 30%)
HSVhsv(96, 59%, 43%)
CMYKcmyk(35.5%, 0%, 59.1%, 56.9%)
CIE-LABlab(42.28, -26.31, 31.46)
CIE-LCHlch(42.28, 41.02, 129.91°)
OKLaboklab(49.34% -0.0729 0.0742)
OKLCHoklch(49.34% 0.104 134.5)
XYZxyz(8.6479, 12.6806, 4.4741)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476E2D #542D6E
analogous
#676E2D #476E2D #2D6E34
triadic
#476E2D #2D476E #6E2D47
tetradic
#476E2D #2D676E #542D6E #6E342D
square
#476E2D #2D676E #542D6E #6E342D
split-complementary
#476E2D #342D6E #6E2D67
monochromatic
#0F1709 #2B431B #476E2D #63993F #81BB5A

Accessibility & contrast

On white

5.94
#476E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#476E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476E2D
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476E2D#FFFFFF#000000##FFFFFF
##476E2D1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726627
Deuteranopia (green-blind)
#6C6332
Tritanopia (blue-blind)
#476A60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #476e2d;
/* rgb */ color: rgb(71, 110, 45);
/* oklch */ color: oklch(49.3% 0.104 134.5);
Tailwind
colors: {
  custom: {
    50: '#7d9868',
    500: '#476e2d',
    950: '#000000',
  },
}
SCSS
$custom: #476e2d;
$custom-light: #7d9868;
$custom-dark: #000000;
JSON
{
  "hex": "#476e2d",
  "rgb": {
    "r": 71,
    "g": 110,
    "b": 45
  },
  "hsl": {
    "h": 96,
    "s": 41.935,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49342,
    "c": 0.10401,
    "h": 134.5
  },
  "luminance": 0.12681
}

Semantic roles & 50–950 ramp

primary
#476E2D
secondary
#8357A0
accent
#56D2A0
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #476E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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