#40673F#40673F

#40673F is a mid, moderate green. Relative luminance 0.111; OKLCH L 47.3% C 0.077 H 143.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#40673F
RGBrgb(64, 103, 63)
HSLhsl(119, 24%, 33%)
HSVhsv(119, 39%, 40%)
CMYKcmyk(37.9%, 0%, 38.8%, 59.6%)
CIE-LABlab(39.83, -22.80, 18.34)
CIE-LCHlch(39.83, 29.26, 141.19°)
OKLaboklab(47.34% -0.0621 0.0457)
OKLCHoklch(47.34% 0.077 143.7)
XYZxyz(7.8615, 11.1490, 6.4394)
Luminance0.1115 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40673F #663F67
analogous
#54673F #40673F #3F6752
triadic
#40673F #3F4067 #673F40
tetradic
#40673F #3F5467 #663F67 #67523F
square
#40673F #3F5467 #663F67 #67523F
split-complementary
#40673F #523F67 #673F54
monochromatic
#111B11 #284128 #40673F #588D56 #77AB76

Accessibility & contrast

On white

6.50
#40673F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#40673F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40673F
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40673F#FFFFFF#000000##FFFFFF
##40673F1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69603C
Deuteranopia (green-blind)
#635C41
Tritanopia (blue-blind)
#3C655D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #40673f;
/* rgb */ color: rgb(64, 103, 63);
/* oklch */ color: oklch(47.3% 0.077 143.7);
Tailwind
colors: {
  custom: {
    50: '#779274',
    500: '#40673f',
    950: '#000000',
  },
}
SCSS
$custom: #40673f;
$custom-light: #779274;
$custom-dark: #000000;
JSON
{
  "hex": "#40673f",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 63
  },
  "hsl": {
    "h": 118.5,
    "s": 24.096,
    "l": 32.549
  },
  "oklch": {
    "l": 0.47335,
    "c": 0.07712,
    "h": 143.7
  },
  "luminance": 0.11149
}

Semantic roles & 50–950 ramp

primary
#40673F
secondary
#956C96
accent
#67C1BE
background
#F7F9F7
surface
#EDF1ED
border
#C8CBC8
text
#090D08
muted
#7B7E7B

Preview Lab

Preview with #40673F

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

Preview Lab → · Contrast checker → · Palette generator →

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