#40822D#40822D

#40822D is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.4% C 0.137 H 139.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#40822D
RGBrgb(64, 130, 45)
HSLhsl(107, 49%, 34%)
HSVhsv(107, 65%, 51%)
CMYKcmyk(50.8%, 0%, 65.4%, 49%)
CIE-LABlab(48.57, -37.86, 38.51)
CIE-LCHlch(48.57, 54.00, 134.51°)
OKLaboklab(54.39% -0.104 0.0893)
OKLCHoklch(54.39% 0.137 139.3)
XYZxyz(10.5702, 17.2440, 5.2535)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40822D #6F2D82
analogous
#6B822D #40822D #2D8245
triadic
#40822D #2D4082 #822D40
tetradic
#40822D #2D6B82 #6F2D82 #82452D
square
#40822D #2D6B82 #6F2D82 #82452D
split-complementary
#40822D #452D82 #822D6B
monochromatic
#13270E #2A551D #40822D #56AF3D #78C861

Accessibility & contrast

On white

4.72
#40822D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#40822D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40822D
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40822D#FFFFFF#000000##FFFFFF
##40822D1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867723
Deuteranopia (green-blind)
#7D7134
Tritanopia (blue-blind)
#3A7E70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #40822d;
/* rgb */ color: rgb(64, 130, 45);
/* oklch */ color: oklch(54.4% 0.137 139.3);
Tailwind
colors: {
  custom: {
    50: '#7ba76a',
    500: '#40822d',
    950: '#000000',
  },
}
SCSS
$custom: #40822d;
$custom-light: #7ba76a;
$custom-dark: #000000;
JSON
{
  "hex": "#40822d",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 45
  },
  "hsl": {
    "h": 106.588,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54391,
    "c": 0.13708,
    "h": 139.3
  },
  "luminance": 0.17245
}

Semantic roles & 50–950 ramp

primary
#40822D
secondary
#9C5CAF
accent
#50D8BA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #40822D

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

Preview Lab → · Contrast checker → · Palette generator →

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