#40824A#40824A

#40824A is a mid, moderate green. Relative luminance 0.175; OKLCH L 54.8% C 0.109 H 147.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#40824A
RGBrgb(64, 130, 74)
HSLhsl(129, 34%, 38%)
HSVhsv(129, 51%, 51%)
CMYKcmyk(50.8%, 0%, 43.1%, 49%)
CIE-LABlab(48.94, -33.84, 24.00)
CIE-LCHlch(48.94, 41.49, 144.66°)
OKLaboklab(54.82% -0.0919 0.0592)
OKLCHoklch(54.82% 0.109 147.2)
XYZxyz(11.3323, 17.5488, 9.2673)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40824A #824078
analogous
#578240 #40824A #40826B
triadic
#40824A #4A4082 #824A40
tetradic
#40824A #405782 #824078 #826B40
square
#40824A #405782 #824078 #826B40
split-complementary
#40824A #6B4082 #824057
monochromatic
#18301B #2C5933 #40824A #54AB61 #7DBF87

Accessibility & contrast

On white

4.66
#40824A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#40824A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #40824A
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40824A#FFFFFF#000000##FFFFFF
##40824A1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837846
Deuteranopia (green-blind)
#7A724E
Tritanopia (blue-blind)
#357F74
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #40824a;
/* rgb */ color: rgb(64, 130, 74);
/* oklch */ color: oklch(54.8% 0.109 147.2);
Tailwind
colors: {
  custom: {
    50: '#7aa77d',
    500: '#40824a',
    950: '#000000',
  },
}
SCSS
$custom: #40824a;
$custom-light: #7aa77d;
$custom-dark: #000000;
JSON
{
  "hex": "#40824a",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 74
  },
  "hsl": {
    "h": 129.091,
    "s": 34.021,
    "l": 38.039
  },
  "oklch": {
    "l": 0.54824,
    "c": 0.10931,
    "h": 147.2
  },
  "luminance": 0.1755
}

Semantic roles & 50–950 ramp

primary
#40824A
secondary
#AA74A2
accent
#5EBACA
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#090F09
muted
#7B7F7B

Preview Lab

Preview with #40824A

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

Preview Lab → · Contrast checker → · Palette generator →

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