#40762B#40762B

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

Color values

HEX#40762B
RGBrgb(64, 118, 43)
HSLhsl(103, 47%, 32%)
HSVhsv(103, 64%, 46%)
CMYKcmyk(45.8%, 0%, 63.6%, 53.7%)
CIE-LABlab(44.55, -32.84, 34.97)
CIE-LCHlch(44.55, 47.97, 133.21°)
OKLaboklab(51.09% -0.0905 0.0816)
OKLCHoklch(51.09% 0.122 138)
XYZxyz(9.0285, 14.2207, 4.5542)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40762B #612B76
analogous
#66762B #40762B #2B763C
triadic
#40762B #2B4076 #762B40
tetradic
#40762B #2B6676 #612B76 #763C2B
square
#40762B #2B6676 #612B76 #763C2B
split-complementary
#40762B #3C2B76 #762B66
monochromatic
#0F1C0A #28491B #40762B #58A33B #76C259

Accessibility & contrast

On white

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

On black

3.84
#40762B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##40762B#FFFFFF#000000##FFFFFF
##40762B1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C23
Deuteranopia (green-blind)
#726831
Tritanopia (blue-blind)
#3D7266
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #40762b;
/* rgb */ color: rgb(64, 118, 43);
/* oklch */ color: oklch(51.1% 0.122 138.0);
Tailwind
colors: {
  custom: {
    50: '#799e67',
    500: '#40762b',
    950: '#000000',
  },
}
SCSS
$custom: #40762b;
$custom-light: #799e67;
$custom-dark: #000000;
JSON
{
  "hex": "#40762b",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 43
  },
  "hsl": {
    "h": 103.2,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51089,
    "c": 0.12183,
    "h": 138
  },
  "luminance": 0.14221
}

Semantic roles & 50–950 ramp

primary
#40762B
secondary
#9155A8
accent
#52D6B1
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #40762B

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

Preview Lab → · Contrast checker → · Palette generator →

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