#40682C#40682C

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

Color values

HEX#40682C
RGBrgb(64, 104, 44)
HSLhsl(100, 41%, 29%)
HSVhsv(100, 58%, 41%)
CMYKcmyk(38.5%, 0%, 57.7%, 59.2%)
CIE-LABlab(39.87, -26.17, 29.06)
CIE-LCHlch(39.87, 39.11, 132.01°)
OKLaboklab(47.27% -0.0722 0.0689)
OKLCHoklch(47.27% 0.1 136.3)
XYZxyz(7.5191, 11.1721, 4.1426)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40682C #542C68
analogous
#5E682C #40682C #2C6836
triadic
#40682C #2C4068 #682C40
tetradic
#40682C #2C5E68 #542C68 #68362C
square
#40682C #2C5E68 #542C68 #68362C
split-complementary
#40682C #362C68 #682C5E
monochromatic
#0D1609 #263D1A #40682C #5A933E #77B857

Accessibility & contrast

On white

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

On black

3.23
#40682C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##40682C#FFFFFF#000000##FFFFFF
##40682C1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6026
Deuteranopia (green-blind)
#665D30
Tritanopia (blue-blind)
#3F645B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #40682c;
/* rgb */ color: rgb(64, 104, 44);
/* oklch */ color: oklch(47.3% 0.100 136.3);
Tailwind
colors: {
  custom: {
    50: '#779367',
    500: '#40682c',
    950: '#000000',
  },
}
SCSS
$custom: #40682c;
$custom-light: #779367;
$custom-dark: #000000;
JSON
{
  "hex": "#40682c",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 44
  },
  "hsl": {
    "h": 100,
    "s": 40.541,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4727,
    "c": 0.09981,
    "h": 136.3
  },
  "luminance": 0.11172
}

Semantic roles & 50–950 ramp

primary
#40682C
secondary
#83569A
accent
#57D0A8
background
#F7F9F6
surface
#EDF1EB
border
#C8CBC6
text
#090D06
muted
#7B7E7A

Preview Lab

Preview with #40682C

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

Preview Lab → · Contrast checker → · Palette generator →

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