#40952D#40952D

#40952D is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.6% C 0.162 H 140.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#40952D
RGBrgb(64, 149, 45)
HSLhsl(109, 54%, 38%)
HSVhsv(109, 70%, 58%)
CMYKcmyk(57%, 0%, 69.8%, 41.6%)
CIE-LABlab(54.84, -45.53, 45.29)
CIE-LCHlch(54.84, 64.22, 135.15°)
OKLaboklab(59.55% -0.1248 0.1036)
OKLCHoklch(59.55% 0.162 140.3)
XYZxyz(13.3349, 22.7732, 6.1751)
Luminance0.2277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40952D #822D95
analogous
#74952D #40952D #2D954E
triadic
#40952D #2D4095 #952D40
tetradic
#40952D #2D7495 #822D95 #954E2D
square
#40952D #2D7495 #822D95 #954E2D
split-complementary
#40952D #4E2D95 #952D74
monochromatic
#183711 #2C661F #40952D #54C43B #7DD26A

Accessibility & contrast

On white

3.78
#40952D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#40952D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40952D
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40952D#FFFFFF#000000##000000
##40952D1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#99881E
Deuteranopia (green-blind)
#8E8137
Tritanopia (blue-blind)
#369080
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #40952d;
/* rgb */ color: rgb(64, 149, 45);
/* oklch */ color: oklch(59.6% 0.162 140.3);
Tailwind
colors: {
  custom: {
    50: '#7eb56c',
    500: '#40952d',
    950: '#000000',
  },
}
SCSS
$custom: #40952d;
$custom-light: #7eb56c;
$custom-dark: #000000;
JSON
{
  "hex": "#40952d",
  "rgb": {
    "r": 64,
    "g": 149,
    "b": 45
  },
  "hsl": {
    "h": 109.038,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59553,
    "c": 0.16221,
    "h": 140.3
  },
  "luminance": 0.22774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40952D

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

Preview Lab → · Contrast checker → · Palette generator →

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