#40643B#40643B

#40643B is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.4% C 0.077 H 141.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#40643B
RGBrgb(64, 100, 59)
HSLhsl(113, 26%, 31%)
HSVhsv(113, 41%, 39%)
CMYKcmyk(36%, 0%, 41%, 60.8%)
CIE-LABlab(38.76, -21.95, 19.27)
CIE-LCHlch(38.76, 29.21, 138.71°)
OKLaboklab(46.44% -0.0599 0.0477)
OKLCHoklch(46.44% 0.077 141.4)
XYZxyz(7.4607, 10.5198, 5.7742)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40643B #5F3B64
analogous
#54643B #40643B #3B644A
triadic
#40643B #3B4064 #643B40
tetradic
#40643B #3B5464 #5F3B64 #644A3B
square
#40643B #3B5464 #5F3B64 #644A3B
split-complementary
#40643B #4A3B64 #643B54
monochromatic
#0F170E #273E24 #40643B #598A52 #76AA6F

Accessibility & contrast

On white

6.77
#40643B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#40643B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40643B
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40643B#FFFFFF#000000##FFFFFF
##40643B1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665D38
Deuteranopia (green-blind)
#615A3D
Tritanopia (blue-blind)
#3D625A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #40643b;
/* rgb */ color: rgb(64, 100, 59);
/* oklch */ color: oklch(46.4% 0.077 141.4);
Tailwind
colors: {
  custom: {
    50: '#769071',
    500: '#40643b',
    950: '#000000',
  },
}
SCSS
$custom: #40643b;
$custom-light: #769071;
$custom-dark: #000000;
JSON
{
  "hex": "#40643b",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 59
  },
  "hsl": {
    "h": 112.683,
    "s": 25.786,
    "l": 31.176
  },
  "oklch": {
    "l": 0.46443,
    "c": 0.07658,
    "h": 141.4
  },
  "luminance": 0.1052
}

Semantic roles & 50–950 ramp

primary
#40643B
secondary
#8F6794
accent
#66C2B7
background
#F7F8F6
surface
#EDF0EC
border
#C8CBC7
text
#090C07
muted
#7B7D7A

Preview Lab

Preview with #40643B

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

Preview Lab → · Contrast checker → · Palette generator →

#40643B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva