#40643F#40643F

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

Color values

HEX#40643F
RGBrgb(64, 100, 63)
HSLhsl(118, 23%, 32%)
HSVhsv(118, 37%, 39%)
CMYKcmyk(36%, 0%, 37%, 60.8%)
CIE-LABlab(38.83, -21.25, 17.02)
CIE-LCHlch(38.83, 27.22, 141.31°)
OKLaboklab(46.53% -0.0579 0.0425)
OKLCHoklch(46.53% 0.072 143.7)
XYZxyz(7.5684, 10.5629, 6.3417)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40643F #633F64
analogous
#53643F #40643F #3F6451
triadic
#40643F #3F4064 #643F40
tetradic
#40643F #3F5364 #633F64 #64513F
square
#40643F #3F5364 #633F64 #64513F
split-complementary
#40643F #513F64 #643F53
monochromatic
#101910 #283E27 #40643F #588A57 #77A875

Accessibility & contrast

On white

6.75
#40643F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#40643F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40643F
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40643F#FFFFFF#000000##FFFFFF
##40643F1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665E3D
Deuteranopia (green-blind)
#605A41
Tritanopia (blue-blind)
#3C625B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #40643f;
/* rgb */ color: rgb(64, 100, 63);
/* oklch */ color: oklch(46.5% 0.072 143.7);
Tailwind
colors: {
  custom: {
    50: '#769074',
    500: '#40643f',
    950: '#000000',
  },
}
SCSS
$custom: #40643f;
$custom-light: #769074;
$custom-dark: #000000;
JSON
{
  "hex": "#40643f",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 63
  },
  "hsl": {
    "h": 118.378,
    "s": 22.699,
    "l": 31.961
  },
  "oklch": {
    "l": 0.46528,
    "c": 0.07187,
    "h": 143.7
  },
  "luminance": 0.10563
}

Semantic roles & 50–950 ramp

primary
#40643F
secondary
#936B94
accent
#69BFBD
background
#F7F8F7
surface
#EDF0ED
border
#C8CBC8
text
#080C08
muted
#7B7D7B

Preview Lab

Preview with #40643F

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

Preview Lab → · Contrast checker → · Palette generator →

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