#40762E#40762E

#40762E is a mid, moderate green. Relative luminance 0.142; OKLCH L 51.1% C 0.119 H 138.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#40762E
RGBrgb(64, 118, 46)
HSLhsl(105, 44%, 32%)
HSVhsv(105, 61%, 46%)
CMYKcmyk(45.8%, 0%, 61%, 53.7%)
CIE-LABlab(44.58, -32.50, 33.53)
CIE-LCHlch(44.58, 46.70, 134.11°)
OKLaboklab(51.13% -0.0894 0.0788)
OKLCHoklch(51.13% 0.119 138.6)
XYZxyz(9.0856, 14.2436, 4.8548)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40762E #642E76
analogous
#64762E #40762E #2E7640
triadic
#40762E #2E4076 #762E40
tetradic
#40762E #2E6476 #642E76 #76402E
square
#40762E #2E6476 #642E76 #76402E
split-complementary
#40762E #402E76 #762E64
monochromatic
#101E0C #284A1D #40762E #58A23F #77C05E

Accessibility & contrast

On white

5.46
#40762E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#40762E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40762E
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40762E#FFFFFF#000000##FFFFFF
##40762E1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C26
Deuteranopia (green-blind)
#726833
Tritanopia (blue-blind)
#3C7266
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #40762e;
/* rgb */ color: rgb(64, 118, 46);
/* oklch */ color: oklch(51.1% 0.119 138.6);
Tailwind
colors: {
  custom: {
    50: '#799e69',
    500: '#40762e',
    950: '#000000',
  },
}
SCSS
$custom: #40762e;
$custom-light: #799e69;
$custom-dark: #000000;
JSON
{
  "hex": "#40762e",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 46
  },
  "hsl": {
    "h": 105,
    "s": 43.902,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51126,
    "c": 0.11914,
    "h": 138.6
  },
  "luminance": 0.14244
}

Semantic roles & 50–950 ramp

primary
#40762E
secondary
#9359A7
accent
#54D4B4
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #40762E

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

Preview Lab → · Contrast checker → · Palette generator →

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