#40952E#40952E

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

Color values

HEX#40952E
RGBrgb(64, 149, 46)
HSLhsl(110, 53%, 38%)
HSVhsv(110, 69%, 58%)
CMYKcmyk(57%, 0%, 69.1%, 41.6%)
CIE-LABlab(54.85, -45.44, 44.88)
CIE-LCHlch(54.85, 63.87, 135.35°)
OKLaboklab(59.56% -0.1245 0.1029)
OKLCHoklch(59.56% 0.162 140.4)
XYZxyz(13.3543, 22.7810, 6.2777)
Luminance0.2278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40952E #832E95
analogous
#73952E #40952E #2E954F
triadic
#40952E #2E4095 #952E40
tetradic
#40952E #2E7395 #832E95 #954F2E
square
#40952E #2E7395 #832E95 #954F2E
split-complementary
#40952E #4F2E95 #952E73
monochromatic
#183711 #2C6620 #40952E #54C33D #7ED26C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40952E#FFFFFF#000000##000000
##40952E1.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)
#998820
Deuteranopia (green-blind)
#8E8137
Tritanopia (blue-blind)
#369080
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #40952e;
/* rgb */ color: rgb(64, 149, 46);
/* oklch */ color: oklch(59.6% 0.162 140.4);
Tailwind
colors: {
  custom: {
    50: '#7eb56c',
    500: '#40952e',
    950: '#000000',
  },
}
SCSS
$custom: #40952e;
$custom-light: #7eb56c;
$custom-dark: #000000;
JSON
{
  "hex": "#40952e",
  "rgb": {
    "r": 64,
    "g": 149,
    "b": 46
  },
  "hsl": {
    "h": 109.515,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59562,
    "c": 0.1615,
    "h": 140.4
  },
  "luminance": 0.22782
}

Semantic roles & 50–950 ramp

primary
#40952E
secondary
#AA66B9
accent
#4CDCC3
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40952E

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

Preview Lab → · Contrast checker → · Palette generator →

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