#40682E#40682E

#40682E is a mid, moderate green. Relative luminance 0.112; OKLCH L 47.3% C 0.098 H 136.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#40682E
RGBrgb(64, 104, 46)
HSLhsl(101, 39%, 29%)
HSVhsv(101, 56%, 41%)
CMYKcmyk(38.5%, 0%, 55.8%, 59.2%)
CIE-LABlab(39.89, -25.92, 28.02)
CIE-LCHlch(39.89, 38.17, 132.77°)
OKLaboklab(47.3% -0.0714 0.0668)
OKLCHoklch(47.3% 0.098 136.9)
XYZxyz(7.5576, 11.1875, 4.3454)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40682E #562E68
analogous
#5D682E #40682E #2E6839
triadic
#40682E #2E4068 #682E40
tetradic
#40682E #2E5D68 #562E68 #68392E
square
#40682E #2E5D68 #562E68 #68392E
split-complementary
#40682E #392E68 #682E5D
monochromatic
#0D1509 #263E1B #40682E #5A9241 #77B65A

Accessibility & contrast

On white

6.49
#40682E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#40682E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40682E
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40682E#FFFFFF#000000##FFFFFF
##40682E1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6029
Deuteranopia (green-blind)
#665D32
Tritanopia (blue-blind)
#3E655B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #40682e;
/* rgb */ color: rgb(64, 104, 46);
/* oklch */ color: oklch(47.3% 0.098 136.9);
Tailwind
colors: {
  custom: {
    50: '#779368',
    500: '#40682e',
    950: '#000000',
  },
}
SCSS
$custom: #40682e;
$custom-light: #779368;
$custom-dark: #000000;
JSON
{
  "hex": "#40682e",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 46
  },
  "hsl": {
    "h": 101.379,
    "s": 38.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.473,
    "c": 0.09777,
    "h": 136.9
  },
  "luminance": 0.11188
}

Semantic roles & 50–950 ramp

primary
#40682E
secondary
#85589A
accent
#59CFAA
background
#F7F9F6
surface
#EDF1EB
border
#C8CBC6
text
#090D06
muted
#7B7E7A

Preview Lab

Preview with #40682E

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

Preview Lab → · Contrast checker → · Palette generator →

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