#40824D#40824D

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

Color values

HEX#40824D
RGBrgb(64, 130, 77)
HSLhsl(132, 34%, 38%)
HSVhsv(132, 51%, 51%)
CMYKcmyk(50.8%, 0%, 40.8%, 49%)
CIE-LABlab(49.00, -33.31, 22.39)
CIE-LCHlch(49.00, 40.14, 146.09°)
OKLaboklab(54.88% -0.0904 0.0556)
OKLCHoklch(54.88% 0.106 148.4)
XYZxyz(11.4358, 17.5902, 9.8124)
Luminance0.1759 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40824D #824075
analogous
#548240 #40824D #40826E
triadic
#40824D #4D4082 #824D40
tetradic
#40824D #405482 #824075 #826E40
square
#40824D #405482 #824075 #826E40
split-complementary
#40824D #6E4082 #824054
monochromatic
#18301C #2C5935 #40824D #54AB65 #7DBF8A

Accessibility & contrast

On white

4.65
#40824D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #40824D
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40824D#FFFFFF#000000##FFFFFF
##40824D1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837849
Deuteranopia (green-blind)
#7A7250
Tritanopia (blue-blind)
#348075
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #40824d;
/* rgb */ color: rgb(64, 130, 77);
/* oklch */ color: oklch(54.9% 0.106 148.4);
Tailwind
colors: {
  custom: {
    50: '#7aa77f',
    500: '#40824d',
    950: '#000000',
  },
}
SCSS
$custom: #40824d;
$custom-light: #7aa77f;
$custom-dark: #000000;
JSON
{
  "hex": "#40824d",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 77
  },
  "hsl": {
    "h": 131.818,
    "s": 34.021,
    "l": 38.039
  },
  "oklch": {
    "l": 0.54882,
    "c": 0.10617,
    "h": 148.4
  },
  "luminance": 0.17591
}

Semantic roles & 50–950 ramp

primary
#40824D
secondary
#AA749F
accent
#5EB5CA
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#090F0A
muted
#7B7F7C

Preview Lab

Preview with #40824D

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

Preview Lab → · Contrast checker → · Palette generator →

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