#40743E#40743E

#40743E is a mid, moderate green. Relative luminance 0.139; OKLCH L 50.8% C 0.100 H 143.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#40743E
RGBrgb(64, 116, 62)
HSLhsl(118, 30%, 35%)
HSVhsv(118, 47%, 45%)
CMYKcmyk(44.8%, 0%, 46.6%, 54.5%)
CIE-LABlab(44.13, -29.37, 24.48)
CIE-LCHlch(44.13, 38.23, 140.18°)
OKLaboklab(50.83% -0.08 0.0599)
OKLCHoklch(50.83% 0.1 143.2)
XYZxyz(9.2288, 13.9280, 6.7586)
Luminance0.1393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40743E #723E74
analogous
#5B743E #40743E #3E7457
triadic
#40743E #3E4074 #743E40
tetradic
#40743E #3E5B74 #723E74 #74573E
square
#40743E #3E5B74 #723E74 #74573E
split-complementary
#40743E #573E74 #743E5B
monochromatic
#142413 #2A4C29 #40743E #569C53 #79B676

Accessibility & contrast

On white

5.55
#40743E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#40743E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40743E
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40743E#FFFFFF#000000##FFFFFF
##40743E1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766B3A
Deuteranopia (green-blind)
#6F6641
Tritanopia (blue-blind)
#3A7167
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #40743e;
/* rgb */ color: rgb(64, 116, 62);
/* oklch */ color: oklch(50.8% 0.100 143.2);
Tailwind
colors: {
  custom: {
    50: '#789c74',
    500: '#40743e',
    950: '#000000',
  },
}
SCSS
$custom: #40743e;
$custom-light: #789c74;
$custom-dark: #000000;
JSON
{
  "hex": "#40743e",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 62
  },
  "hsl": {
    "h": 117.778,
    "s": 30.337,
    "l": 34.902
  },
  "oklch": {
    "l": 0.50827,
    "c": 0.09993,
    "h": 143.2
  },
  "luminance": 0.13929
}

Semantic roles & 50–950 ramp

primary
#40743E
secondary
#9F6DA0
accent
#61C7C3
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#090E08
muted
#7B7E7B

Preview Lab

Preview with #40743E

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

Preview Lab → · Contrast checker → · Palette generator →

#40743E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva