#40952B#40952B

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

Color values

HEX#40952B
RGBrgb(64, 149, 43)
HSLhsl(108, 55%, 38%)
HSVhsv(108, 71%, 58%)
CMYKcmyk(57%, 0%, 71.1%, 41.6%)
CIE-LABlab(54.82, -45.70, 46.10)
CIE-LCHlch(54.82, 64.91, 134.75°)
OKLaboklab(59.54% -0.1254 0.1051)
OKLCHoklch(59.54% 0.164 140)
XYZxyz(13.2973, 22.7582, 5.9771)
Luminance0.2276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40952B #802B95
analogous
#75952B #40952B #2B954B
triadic
#40952B #2B4095 #952B40
tetradic
#40952B #2B7595 #802B95 #954B2B
square
#40952B #2B7595 #802B95 #954B2B
split-complementary
#40952B #4B2B95 #952B75
monochromatic
#173610 #2C661D #40952B #54C439 #7DD367

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40952B#FFFFFF#000000##000000
##40952B1.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)
#99881B
Deuteranopia (green-blind)
#8E8035
Tritanopia (blue-blind)
#369080
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #40952b;
/* rgb */ color: rgb(64, 149, 43);
/* oklch */ color: oklch(59.5% 0.164 140.0);
Tailwind
colors: {
  custom: {
    50: '#7eb56b',
    500: '#40952b',
    950: '#000000',
  },
}
SCSS
$custom: #40952b;
$custom-light: #7eb56b;
$custom-dark: #000000;
JSON
{
  "hex": "#40952b",
  "rgb": {
    "r": 64,
    "g": 149,
    "b": 43
  },
  "hsl": {
    "h": 108.113,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59535,
    "c": 0.16359,
    "h": 140
  },
  "luminance": 0.22759
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40952B

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

Preview Lab → · Contrast checker → · Palette generator →

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