#40962A#40962A

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

Color values

HEX#40962A
RGBrgb(64, 150, 42)
HSLhsl(108, 56%, 38%)
HSVhsv(108, 72%, 59%)
CMYKcmyk(57.3%, 0%, 72%, 41.2%)
CIE-LABlab(55.14, -46.17, 46.83)
CIE-LCHlch(55.14, 65.77, 134.60°)
OKLaboklab(59.8% -0.1267 0.1065)
OKLCHoklch(59.8% 0.166 140)
XYZxyz(13.4380, 23.0687, 5.9346)
Luminance0.2307 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40962A #802A96
analogous
#76962A #40962A #2A964A
triadic
#40962A #2A4096 #962A40
tetradic
#40962A #2A7696 #802A96 #964A2A
square
#40962A #2A7696 #802A96 #964A2A
split-complementary
#40962A #4A2A96 #962A76
monochromatic
#17360F #2C661D #40962A #54C637 #7DD466

Accessibility & contrast

On white

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

On black

5.61
#40962A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40962A
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40962A#FFFFFF#000000##000000
##40962A1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8819
Deuteranopia (green-blind)
#8F8134
Tritanopia (blue-blind)
#369181
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #40962a;
/* rgb */ color: rgb(64, 150, 42);
/* oklch */ color: oklch(59.8% 0.166 140.0);
Tailwind
colors: {
  custom: {
    50: '#7eb66a',
    500: '#40962a',
    950: '#000000',
  },
}
SCSS
$custom: #40962a;
$custom-light: #7eb66a;
$custom-dark: #000000;
JSON
{
  "hex": "#40962a",
  "rgb": {
    "r": 64,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 107.778,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59797,
    "c": 0.1655,
    "h": 140
  },
  "luminance": 0.2307
}

Semantic roles & 50–950 ramp

primary
#40962A
secondary
#A861BA
accent
#48E0C1
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40962A

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

Preview Lab → · Contrast checker → · Palette generator →

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