#40824E#40824E

#40824E is a mid, moderate green. Relative luminance 0.176; OKLCH L 54.9% C 0.105 H 148.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#40824E
RGBrgb(64, 130, 78)
HSLhsl(133, 34%, 38%)
HSVhsv(133, 51%, 51%)
CMYKcmyk(50.8%, 0%, 40%, 49%)
CIE-LABlab(49.01, -33.13, 21.86)
CIE-LCHlch(49.01, 39.69, 146.59°)
OKLaboklab(54.9% -0.09 0.0544)
OKLCHoklch(54.9% 0.105 148.9)
XYZxyz(11.4714, 17.6044, 9.9998)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40824E #824074
analogous
#538240 #40824E #40826F
triadic
#40824E #4E4082 #824E40
tetradic
#40824E #405382 #824074 #826F40
square
#40824E #405382 #824074 #826F40
split-complementary
#40824E #6F4082 #824053
monochromatic
#18301D #2C5935 #40824E #54AB67 #7DBF8B

Accessibility & contrast

On white

4.64
#40824E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#40824E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #40824E
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40824E#FFFFFF#000000##FFFFFF
##40824E1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83784A
Deuteranopia (green-blind)
#7A7251
Tritanopia (blue-blind)
#338075
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #40824e;
/* rgb */ color: rgb(64, 130, 78);
/* oklch */ color: oklch(54.9% 0.105 148.9);
Tailwind
colors: {
  custom: {
    50: '#7aa780',
    500: '#40824e',
    950: '#000000',
  },
}
SCSS
$custom: #40824e;
$custom-light: #7aa780;
$custom-dark: #000000;
JSON
{
  "hex": "#40824e",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 78
  },
  "hsl": {
    "h": 132.727,
    "s": 34.021,
    "l": 38.039
  },
  "oklch": {
    "l": 0.54902,
    "c": 0.10512,
    "h": 148.9
  },
  "luminance": 0.17605
}

Semantic roles & 50–950 ramp

primary
#40824E
secondary
#AA749E
accent
#5EB3CA
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#090F0A
muted
#7B7F7C

Preview Lab

Preview with #40824E

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

Preview Lab → · Contrast checker → · Palette generator →

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