#40672E#40672E

#40672E is a mid, moderate green. Relative luminance 0.110; OKLCH L 47.0% C 0.096 H 136.7°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#40672E
RGBrgb(64, 103, 46)
HSLhsl(101, 38%, 29%)
HSVhsv(101, 55%, 40%)
CMYKcmyk(37.9%, 0%, 55.3%, 59.6%)
CIE-LABlab(39.56, -25.43, 27.62)
CIE-LCHlch(39.56, 37.54, 132.63°)
OKLaboklab(47.03% -0.07 0.0659)
OKLCHoklch(47.03% 0.096 136.7)
XYZxyz(7.4575, 10.9874, 4.3121)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40672E #552E67
analogous
#5D672E #40672E #2E6739
triadic
#40672E #2E4067 #672E40
tetradic
#40672E #2E5D67 #552E67 #67392E
square
#40672E #2E5D67 #552E67 #67392E
split-complementary
#40672E #392E67 #672E5D
monochromatic
#0D1509 #263D1B #40672E #5A9141 #77B55A

Accessibility & contrast

On white

6.57
#40672E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#40672E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40672E
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40672E#FFFFFF#000000##FFFFFF
##40672E1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F29
Deuteranopia (green-blind)
#655C32
Tritanopia (blue-blind)
#3F645A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #40672e;
/* rgb */ color: rgb(64, 103, 46);
/* oklch */ color: oklch(47.0% 0.096 136.7);
Tailwind
colors: {
  custom: {
    50: '#779268',
    500: '#40672e',
    950: '#000000',
  },
}
SCSS
$custom: #40672e;
$custom-light: #779268;
$custom-dark: #000000;
JSON
{
  "hex": "#40672e",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 46
  },
  "hsl": {
    "h": 101.053,
    "s": 38.255,
    "l": 29.216
  },
  "oklch": {
    "l": 0.47027,
    "c": 0.09618,
    "h": 136.7
  },
  "luminance": 0.10988
}

Semantic roles & 50–950 ramp

primary
#40672E
secondary
#845899
accent
#5ACEA9
background
#F7F9F6
surface
#EDF1EB
border
#C8CBC6
text
#090D06
muted
#7B7E7A

Preview Lab

Preview with #40672E

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

Preview Lab → · Contrast checker → · Palette generator →

#40672E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva