#40682F#40682F

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

Color values

HEX#40682F
RGBrgb(64, 104, 47)
HSLhsl(102, 38%, 30%)
HSVhsv(102, 55%, 41%)
CMYKcmyk(38.5%, 0%, 54.8%, 59.2%)
CIE-LABlab(39.91, -25.79, 27.50)
CIE-LCHlch(39.91, 37.70, 133.16°)
OKLaboklab(47.32% -0.0709 0.0658)
OKLCHoklch(47.32% 0.097 137.2)
XYZxyz(7.5775, 11.1955, 4.4505)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40682F #572F68
analogous
#5D682F #40682F #2F683B
triadic
#40682F #2F4068 #682F40
tetradic
#40682F #2F5D68 #572F68 #683B2F
square
#40682F #2F5D68 #572F68 #683B2F
split-complementary
#40682F #3B2F68 #682F5D
monochromatic
#0D150A #263E1C #40682F #5A9242 #77B55C

Accessibility & contrast

On white

6.48
#40682F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #40682F
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40682F#FFFFFF#000000##FFFFFF
##40682F1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B602A
Deuteranopia (green-blind)
#655D33
Tritanopia (blue-blind)
#3E655B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #40682f;
/* rgb */ color: rgb(64, 104, 47);
/* oklch */ color: oklch(47.3% 0.097 137.2);
Tailwind
colors: {
  custom: {
    50: '#779369',
    500: '#40682f',
    950: '#000000',
  },
}
SCSS
$custom: #40682f;
$custom-light: #779369;
$custom-dark: #000000;
JSON
{
  "hex": "#40682f",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 47
  },
  "hsl": {
    "h": 102.105,
    "s": 37.748,
    "l": 29.608
  },
  "oklch": {
    "l": 0.47315,
    "c": 0.09672,
    "h": 137.2
  },
  "luminance": 0.11196
}

Semantic roles & 50–950 ramp

primary
#40682F
secondary
#865999
accent
#5ACEAB
background
#F7F9F6
surface
#EDF1EB
border
#C8CBC6
text
#090D06
muted
#7B7E7A

Preview Lab

Preview with #40682F

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

Preview Lab → · Contrast checker → · Palette generator →

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