#40643A#40643A

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

Color values

HEX#40643A
RGBrgb(64, 100, 58)
HSLhsl(111, 27%, 31%)
HSVhsv(111, 42%, 39%)
CMYKcmyk(36%, 0%, 42%, 60.8%)
CIE-LABlab(38.74, -22.12, 19.83)
CIE-LCHlch(38.74, 29.71, 138.12°)
OKLaboklab(46.42% -0.0604 0.049)
OKLCHoklch(46.42% 0.078 140.9)
XYZxyz(7.4350, 10.5095, 5.6389)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40643A #5E3A64
analogous
#55643A #40643A #3A6449
triadic
#40643A #3A4064 #643A40
tetradic
#40643A #3A5564 #5E3A64 #64493A
square
#40643A #3A5564 #5E3A64 #64493A
split-complementary
#40643A #493A64 #643A55
monochromatic
#0E170D #273D24 #40643A #598B50 #76AB6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40643A#FFFFFF#000000##FFFFFF
##40643A1.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)
#665D37
Deuteranopia (green-blind)
#615A3C
Tritanopia (blue-blind)
#3D625A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #40643a;
/* rgb */ color: rgb(64, 100, 58);
/* oklch */ color: oklch(46.4% 0.078 140.9);
Tailwind
colors: {
  custom: {
    50: '#769070',
    500: '#40643a',
    950: '#000000',
  },
}
SCSS
$custom: #40643a;
$custom-light: #769070;
$custom-dark: #000000;
JSON
{
  "hex": "#40643a",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 58
  },
  "hsl": {
    "h": 111.429,
    "s": 26.582,
    "l": 30.98
  },
  "oklch": {
    "l": 0.46423,
    "c": 0.07777,
    "h": 140.9
  },
  "luminance": 0.1051
}

Semantic roles & 50–950 ramp

primary
#40643A
secondary
#8D6694
accent
#65C3B6
background
#F7F8F6
surface
#EDF0EC
border
#C8CBC7
text
#090C07
muted
#7B7D7A

Preview Lab

Preview with #40643A

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

Preview Lab → · Contrast checker → · Palette generator →

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