#40962B#40962B

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

Color values

HEX#40962B
RGBrgb(64, 150, 43)
HSLhsl(108, 55%, 38%)
HSVhsv(108, 71%, 59%)
CMYKcmyk(57.3%, 0%, 71.3%, 41.2%)
CIE-LABlab(55.15, -46.09, 46.44)
CIE-LCHlch(55.15, 65.43, 134.78°)
OKLaboklab(59.81% -0.1264 0.1058)
OKLCHoklch(59.81% 0.165 140.1)
XYZxyz(13.4562, 23.0760, 6.0300)
Luminance0.2308 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40962B #812B96
analogous
#75962B #40962B #2B964B
triadic
#40962B #2B4096 #962B40
tetradic
#40962B #2B7596 #812B96 #964B2B
square
#40962B #2B7596 #812B96 #964B2B
split-complementary
#40962B #4B2B96 #962B75
monochromatic
#173710 #2C661D #40962B #54C639 #7DD468

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40962B#FFFFFF#000000##000000
##40962B1.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)
#9A881A
Deuteranopia (green-blind)
#8F8135
Tritanopia (blue-blind)
#369181
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #40962b;
/* rgb */ color: rgb(64, 150, 43);
/* oklch */ color: oklch(59.8% 0.165 140.1);
Tailwind
colors: {
  custom: {
    50: '#7eb66b',
    500: '#40962b',
    950: '#000000',
  },
}
SCSS
$custom: #40962b;
$custom-light: #7eb66b;
$custom-dark: #000000;
JSON
{
  "hex": "#40962b",
  "rgb": {
    "r": 64,
    "g": 150,
    "b": 43
  },
  "hsl": {
    "h": 108.224,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59806,
    "c": 0.16485,
    "h": 140.1
  },
  "luminance": 0.23077
}

Semantic roles & 50–950 ramp

primary
#40962B
secondary
#A963BA
accent
#49DFC1
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40962B

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

Preview Lab → · Contrast checker → · Palette generator →

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