#40952F#40952F

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

Color values

HEX#40952F
RGBrgb(64, 149, 47)
HSLhsl(110, 52%, 38%)
HSVhsv(110, 68%, 58%)
CMYKcmyk(57%, 0%, 68.5%, 41.6%)
CIE-LABlab(54.85, -45.34, 44.47)
CIE-LCHlch(54.85, 63.51, 135.56°)
OKLaboklab(59.57% -0.1242 0.1022)
OKLCHoklch(59.57% 0.161 140.6)
XYZxyz(13.3743, 22.7890, 6.3827)
Luminance0.2279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40952F #842F95
analogous
#73952F #40952F #2F9551
triadic
#40952F #2F4095 #952F40
tetradic
#40952F #2F7395 #842F95 #95512F
square
#40952F #2F7395 #842F95 #95512F
split-complementary
#40952F #512F95 #952F73
monochromatic
#183812 #2C6620 #40952F #55C23F #7ED16D

Accessibility & contrast

On white

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

On black

5.56
#40952F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40952F
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40952F#FFFFFF#000000##000000
##40952F1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998821
Deuteranopia (green-blind)
#8E8138
Tritanopia (blue-blind)
#359080
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #40952f;
/* rgb */ color: rgb(64, 149, 47);
/* oklch */ color: oklch(59.6% 0.161 140.6);
Tailwind
colors: {
  custom: {
    50: '#7eb56d',
    500: '#40952f',
    950: '#000000',
  },
}
SCSS
$custom: #40952f;
$custom-light: #7eb56d;
$custom-dark: #000000;
JSON
{
  "hex": "#40952f",
  "rgb": {
    "r": 64,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 110,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59572,
    "c": 0.16078,
    "h": 140.6
  },
  "luminance": 0.2279
}

Semantic roles & 50–950 ramp

primary
#40952F
secondary
#AB67B8
accent
#4CDBC4
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40952F

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

Preview Lab → · Contrast checker → · Palette generator →

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