#40742E#40742E

#40742E is a mid, moderate green. Relative luminance 0.138; OKLCH L 50.6% C 0.116 H 138.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#40742E
RGBrgb(64, 116, 46)
HSLhsl(105, 43%, 32%)
HSVhsv(105, 60%, 45%)
CMYKcmyk(44.8%, 0%, 60.3%, 54.5%)
CIE-LABlab(43.91, -31.60, 32.76)
CIE-LCHlch(43.91, 45.51, 133.97°)
OKLaboklab(50.58% -0.0869 0.0771)
OKLCHoklch(50.58% 0.116 138.4)
XYZxyz(8.8526, 13.7775, 4.7771)
Luminance0.1378 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40742E #622E74
analogous
#63742E #40742E #2E743F
triadic
#40742E #2E4074 #742E40
tetradic
#40742E #2E6374 #622E74 #743F2E
square
#40742E #2E6374 #622E74 #743F2E
split-complementary
#40742E #3F2E74 #742E63
monochromatic
#101C0B #28481D #40742E #58A03F #77BF5D

Accessibility & contrast

On white

5.59
#40742E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#40742E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40742E
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40742E#FFFFFF#000000##FFFFFF
##40742E1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776B27
Deuteranopia (green-blind)
#706633
Tritanopia (blue-blind)
#3D7065
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #40742e;
/* rgb */ color: rgb(64, 116, 46);
/* oklch */ color: oklch(50.6% 0.116 138.4);
Tailwind
colors: {
  custom: {
    50: '#799c69',
    500: '#40742e',
    950: '#000000',
  },
}
SCSS
$custom: #40742e;
$custom-light: #799c69;
$custom-dark: #000000;
JSON
{
  "hex": "#40742e",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 46
  },
  "hsl": {
    "h": 104.571,
    "s": 43.21,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50579,
    "c": 0.11619,
    "h": 138.4
  },
  "luminance": 0.13778
}

Semantic roles & 50–950 ramp

primary
#40742E
secondary
#9259A5
accent
#55D3B3
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #40742E

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

Preview Lab → · Contrast checker → · Palette generator →

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