#40682D#40682D

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

Color values

HEX#40682D
RGBrgb(64, 104, 45)
HSLhsl(101, 40%, 29%)
HSVhsv(101, 57%, 41%)
CMYKcmyk(38.5%, 0%, 56.7%, 59.2%)
CIE-LABlab(39.88, -26.05, 28.54)
CIE-LCHlch(39.88, 38.64, 132.38°)
OKLaboklab(47.29% -0.0718 0.0679)
OKLCHoklch(47.29% 0.099 136.6)
XYZxyz(7.5381, 11.1797, 4.2428)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40682D #552D68
analogous
#5E682D #40682D #2D6838
triadic
#40682D #2D4068 #682D40
tetradic
#40682D #2D5E68 #552D68 #68382D
square
#40682D #2D5E68 #552D68 #68382D
split-complementary
#40682D #382D68 #682D5E
monochromatic
#0D1509 #263D1B #40682D #5A933F #77B758

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40682D#FFFFFF#000000##FFFFFF
##40682D1.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)
#6B6027
Deuteranopia (green-blind)
#665D31
Tritanopia (blue-blind)
#3F645B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #40682d;
/* rgb */ color: rgb(64, 104, 45);
/* oklch */ color: oklch(47.3% 0.099 136.6);
Tailwind
colors: {
  custom: {
    50: '#779368',
    500: '#40682d',
    950: '#000000',
  },
}
SCSS
$custom: #40682d;
$custom-light: #779368;
$custom-dark: #000000;
JSON
{
  "hex": "#40682d",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 45
  },
  "hsl": {
    "h": 100.678,
    "s": 39.597,
    "l": 29.216
  },
  "oklch": {
    "l": 0.47285,
    "c": 0.0988,
    "h": 136.6
  },
  "luminance": 0.1118
}

Semantic roles & 50–950 ramp

primary
#40682D
secondary
#84579A
accent
#58CFA9
background
#F7F9F6
surface
#EDF1EB
border
#C8CBC6
text
#090D06
muted
#7B7E7A

Preview Lab

Preview with #40682D

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

Preview Lab → · Contrast checker → · Palette generator →

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