#40962C#40962C

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

Color values

HEX#40962C
RGBrgb(64, 150, 44)
HSLhsl(109, 55%, 38%)
HSVhsv(109, 71%, 59%)
CMYKcmyk(57.3%, 0%, 70.7%, 41.2%)
CIE-LABlab(55.16, -46.00, 46.04)
CIE-LCHlch(55.16, 65.09, 134.98°)
OKLaboklab(59.82% -0.1261 0.1051)
OKLCHoklch(59.82% 0.164 140.2)
XYZxyz(13.4747, 23.0834, 6.1278)
Luminance0.2308 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40962C #822C96
analogous
#75962C #40962C #2C964D
triadic
#40962C #2C4096 #962C40
tetradic
#40962C #2C7596 #822C96 #964D2C
square
#40962C #2C7596 #822C96 #964D2C
split-complementary
#40962C #4D2C96 #962C75
monochromatic
#183710 #2C671E #40962C #54C53A #7DD369

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40962C#FFFFFF#000000##000000
##40962C1.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)
#9A881C
Deuteranopia (green-blind)
#8F8136
Tritanopia (blue-blind)
#369181
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #40962c;
/* rgb */ color: rgb(64, 150, 44);
/* oklch */ color: oklch(59.8% 0.164 140.2);
Tailwind
colors: {
  custom: {
    50: '#7eb66b',
    500: '#40962c',
    950: '#000000',
  },
}
SCSS
$custom: #40962c;
$custom-light: #7eb66b;
$custom-dark: #000000;
JSON
{
  "hex": "#40962c",
  "rgb": {
    "r": 64,
    "g": 150,
    "b": 44
  },
  "hsl": {
    "h": 108.679,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59815,
    "c": 0.16417,
    "h": 140.2
  },
  "luminance": 0.23085
}

Semantic roles & 50–950 ramp

primary
#40962C
secondary
#AA64BA
accent
#4ADEC2
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40962C

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

Preview Lab → · Contrast checker → · Palette generator →

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