#40844A#40844A

#40844A is a mid, moderate green. Relative luminance 0.181; OKLCH L 55.4% C 0.112 H 147.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#40844A
RGBrgb(64, 132, 74)
HSLhsl(129, 35%, 38%)
HSVhsv(129, 52%, 52%)
CMYKcmyk(51.5%, 0%, 43.9%, 48.2%)
CIE-LABlab(49.60, -34.74, 24.85)
CIE-LCHlch(49.60, 42.71, 144.43°)
OKLaboklab(55.36% -0.0943 0.0612)
OKLCHoklch(55.36% 0.112 147)
XYZxyz(11.6010, 18.0860, 9.3569)
Luminance0.1809 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40844A #84407A
analogous
#588440 #40844A #40846C
triadic
#40844A #4A4084 #844A40
tetradic
#40844A #405884 #84407A #846C40
square
#40844A #405884 #84407A #846C40
split-complementary
#40844A #6C4084 #844058
monochromatic
#18321C #2C5B33 #40844A #55AC62 #7EC088

Accessibility & contrast

On white

4.55
#40844A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#40844A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40844A
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40844A#FFFFFF#000000##000000
##40844A1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#867A46
Deuteranopia (green-blind)
#7C734E
Tritanopia (blue-blind)
#348176
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #40844a;
/* rgb */ color: rgb(64, 132, 74);
/* oklch */ color: oklch(55.4% 0.112 147.0);
Tailwind
colors: {
  custom: {
    50: '#7aa87d',
    500: '#40844a',
    950: '#000000',
  },
}
SCSS
$custom: #40844a;
$custom-light: #7aa87d;
$custom-dark: #000000;
JSON
{
  "hex": "#40844a",
  "rgb": {
    "r": 64,
    "g": 132,
    "b": 74
  },
  "hsl": {
    "h": 128.824,
    "s": 34.694,
    "l": 38.431
  },
  "oklch": {
    "l": 0.5536,
    "c": 0.11241,
    "h": 147
  },
  "luminance": 0.18087
}

Semantic roles & 50–950 ramp

primary
#40844A
secondary
#AB75A3
accent
#5DBBCB
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#0A100A
muted
#7C7F7C

Preview Lab

Preview with #40844A

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

Preview Lab → · Contrast checker → · Palette generator →

#40844A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva