#406F2C#406F2C

#406F2C is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.2% C 0.111 H 137.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#406F2C
RGBrgb(64, 111, 44)
HSLhsl(102, 43%, 30%)
HSVhsv(102, 60%, 44%)
CMYKcmyk(42.3%, 0%, 60.4%, 56.5%)
CIE-LABlab(42.22, -29.52, 31.81)
CIE-LCHlch(42.22, 43.40, 132.87°)
OKLaboklab(49.19% -0.0814 0.0749)
OKLCHoklch(49.19% 0.111 137.4)
XYZxyz(8.2532, 12.6403, 4.3873)
Luminance0.1264 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406F2C #5B2C6F
analogous
#616F2C #406F2C #2C6F3A
triadic
#406F2C #2C406F #6F2C40
tetradic
#406F2C #2C616F #5B2C6F #6F3A2C
square
#406F2C #2C616F #5B2C6F #6F3A2C
split-complementary
#406F2C #3A2C6F #6F2C61
monochromatic
#0D1709 #27431B #406F2C #599B3D #76BD58

Accessibility & contrast

On white

5.95
#406F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#406F2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406F2C
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406F2C#FFFFFF#000000##FFFFFF
##406F2C1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736625
Deuteranopia (green-blind)
#6C6231
Tritanopia (blue-blind)
#3E6B60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #406f2c;
/* rgb */ color: rgb(64, 111, 44);
/* oklch */ color: oklch(49.2% 0.111 137.4);
Tailwind
colors: {
  custom: {
    50: '#789967',
    500: '#406f2c',
    950: '#000000',
  },
}
SCSS
$custom: #406f2c;
$custom-light: #789967;
$custom-dark: #000000;
JSON
{
  "hex": "#406f2c",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 44
  },
  "hsl": {
    "h": 102.09,
    "s": 43.226,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49185,
    "c": 0.11057,
    "h": 137.4
  },
  "luminance": 0.12641
}

Semantic roles & 50–950 ramp

primary
#406F2C
secondary
#8A56A1
accent
#55D3AD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #406F2C

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

Preview Lab → · Contrast checker → · Palette generator →

#406F2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva