#40762C#40762C

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

Color values

HEX#40762C
RGBrgb(64, 118, 44)
HSLhsl(104, 46%, 32%)
HSVhsv(104, 63%, 46%)
CMYKcmyk(45.8%, 0%, 62.7%, 53.7%)
CIE-LABlab(44.56, -32.73, 34.49)
CIE-LCHlch(44.56, 47.55, 133.50°)
OKLaboklab(51.1% -0.0901 0.0807)
OKLCHoklch(51.1% 0.121 138.2)
XYZxyz(9.0471, 14.2281, 4.6520)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40762C #622C76
analogous
#65762C #40762C #2C763D
triadic
#40762C #2C4076 #762C40
tetradic
#40762C #2C6576 #622C76 #763D2C
square
#40762C #2C6576 #622C76 #763D2C
split-complementary
#40762C #3D2C76 #762C65
monochromatic
#101D0B #28491B #40762C #58A33D #77C25B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40762C#FFFFFF#000000##FFFFFF
##40762C1.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)
#7A6C24
Deuteranopia (green-blind)
#726832
Tritanopia (blue-blind)
#3D7266
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #40762c;
/* rgb */ color: rgb(64, 118, 44);
/* oklch */ color: oklch(51.1% 0.121 138.2);
Tailwind
colors: {
  custom: {
    50: '#799e68',
    500: '#40762c',
    950: '#000000',
  },
}
SCSS
$custom: #40762c;
$custom-light: #799e68;
$custom-dark: #000000;
JSON
{
  "hex": "#40762c",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 44
  },
  "hsl": {
    "h": 103.784,
    "s": 45.679,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51101,
    "c": 0.12095,
    "h": 138.2
  },
  "luminance": 0.14229
}

Semantic roles & 50–950 ramp

primary
#40762C
secondary
#9256A7
accent
#52D5B2
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #40762C

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

Preview Lab → · Contrast checker → · Palette generator →

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