#40652F#40652F

#40652F is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.5% C 0.092 H 136.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#40652F
RGBrgb(64, 101, 47)
HSLhsl(101, 36%, 29%)
HSVhsv(101, 53%, 40%)
CMYKcmyk(36.6%, 0%, 53.5%, 60.4%)
CIE-LABlab(38.90, -24.30, 26.28)
CIE-LCHlch(38.90, 35.79, 132.76°)
OKLaboklab(46.5% -0.0669 0.0631)
OKLCHoklch(46.5% 0.092 136.7)
XYZxyz(7.2809, 10.6023, 4.3516)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40652F #542F65
analogous
#5B652F #40652F #2F6539
triadic
#40652F #2F4065 #652F40
tetradic
#40652F #2F5B65 #542F65 #65392F
square
#40652F #2F5B65 #542F65 #65392F
split-complementary
#40652F #392F65 #652F5B
monochromatic
#0D150A #263B1C #40652F #5A8F42 #77B35B

Accessibility & contrast

On white

6.73
#40652F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#40652F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40652F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40652F#FFFFFF#000000##FFFFFF
##40652F1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685E2A
Deuteranopia (green-blind)
#635A33
Tritanopia (blue-blind)
#3F6259
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #40652f;
/* rgb */ color: rgb(64, 101, 47);
/* oklch */ color: oklch(46.5% 0.092 136.7);
Tailwind
colors: {
  custom: {
    50: '#779169',
    500: '#40652f',
    950: '#000000',
  },
}
SCSS
$custom: #40652f;
$custom-light: #779169;
$custom-dark: #000000;
JSON
{
  "hex": "#40652f",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 47
  },
  "hsl": {
    "h": 101.111,
    "s": 36.486,
    "l": 29.02
  },
  "oklch": {
    "l": 0.46497,
    "c": 0.0919,
    "h": 136.7
  },
  "luminance": 0.10603
}

Semantic roles & 50–950 ramp

primary
#40652F
secondary
#835997
accent
#5BCCA9
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#090C06
muted
#7B7D7A

Preview Lab

Preview with #40652F

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

Preview Lab → · Contrast checker → · Palette generator →

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