#40962E#40962E

#40962E is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.8% C 0.163 H 140.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#40962E
RGBrgb(64, 150, 46)
HSLhsl(110, 53%, 38%)
HSVhsv(110, 69%, 59%)
CMYKcmyk(57.3%, 0%, 69.3%, 41.2%)
CIE-LABlab(55.17, -45.82, 45.23)
CIE-LCHlch(55.17, 64.39, 135.37°)
OKLaboklab(59.83% -0.1255 0.1036)
OKLCHoklch(59.83% 0.163 140.5)
XYZxyz(13.5132, 23.0988, 6.3306)
Luminance0.2310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40962E #842E96
analogous
#74962E #40962E #2E9650
triadic
#40962E #2E4096 #962E40
tetradic
#40962E #2E7496 #842E96 #96502E
square
#40962E #2E7496 #842E96 #96502E
split-complementary
#40962E #502E96 #962E74
monochromatic
#183811 #2C6720 #40962E #55C43E #7ED26C

Accessibility & contrast

On white

3.74
#40962E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#40962E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40962E
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40962E#FFFFFF#000000##000000
##40962E1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A891F
Deuteranopia (green-blind)
#8F8138
Tritanopia (blue-blind)
#359181
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #40962e;
/* rgb */ color: rgb(64, 150, 46);
/* oklch */ color: oklch(59.8% 0.163 140.5);
Tailwind
colors: {
  custom: {
    50: '#7eb66c',
    500: '#40962e',
    950: '#000000',
  },
}
SCSS
$custom: #40962e;
$custom-light: #7eb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#40962e",
  "rgb": {
    "r": 64,
    "g": 150,
    "b": 46
  },
  "hsl": {
    "h": 109.615,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59833,
    "c": 0.16277,
    "h": 140.5
  },
  "luminance": 0.231
}

Semantic roles & 50–950 ramp

primary
#40962E
secondary
#AB67B9
accent
#4BDCC3
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40962E

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

Preview Lab → · Contrast checker → · Palette generator →

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