#40962D#40962D

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

Color values

HEX#40962D
RGBrgb(64, 150, 45)
HSLhsl(109, 54%, 38%)
HSVhsv(109, 70%, 59%)
CMYKcmyk(57.3%, 0%, 70%, 41.2%)
CIE-LABlab(55.17, -45.91, 45.64)
CIE-LCHlch(55.17, 64.74, 135.17°)
OKLaboklab(59.82% -0.1258 0.1044)
OKLCHoklch(59.82% 0.163 140.3)
XYZxyz(13.4937, 23.0910, 6.2280)
Luminance0.2309 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40962D #832D96
analogous
#74962D #40962D #2D964E
triadic
#40962D #2D4096 #962D40
tetradic
#40962D #2D7496 #832D96 #964E2D
square
#40962D #2D7496 #832D96 #964E2D
split-complementary
#40962D #4E2D96 #962D74
monochromatic
#183811 #2C671F #40962D #54C43C #7ED36B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40962D#FFFFFF#000000##000000
##40962D1.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)
#9A891E
Deuteranopia (green-blind)
#8F8137
Tritanopia (blue-blind)
#369181
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #40962d;
/* rgb */ color: rgb(64, 150, 45);
/* oklch */ color: oklch(59.8% 0.163 140.3);
Tailwind
colors: {
  custom: {
    50: '#7eb66c',
    500: '#40962d',
    950: '#000000',
  },
}
SCSS
$custom: #40962d;
$custom-light: #7eb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#40962d",
  "rgb": {
    "r": 64,
    "g": 150,
    "b": 45
  },
  "hsl": {
    "h": 109.143,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59824,
    "c": 0.16348,
    "h": 140.3
  },
  "luminance": 0.23092
}

Semantic roles & 50–950 ramp

primary
#40962D
secondary
#AA65B9
accent
#4BDDC3
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40962D

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

Preview Lab → · Contrast checker → · Palette generator →

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