#40832D#40832D

#40832D is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.7% C 0.138 H 139.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#40832D
RGBrgb(64, 131, 45)
HSLhsl(107, 49%, 35%)
HSVhsv(107, 66%, 51%)
CMYKcmyk(51.1%, 0%, 65.6%, 48.6%)
CIE-LABlab(48.90, -38.28, 38.88)
CIE-LCHlch(48.90, 54.56, 134.55°)
OKLaboklab(54.66% -0.1051 0.0901)
OKLCHoklch(54.66% 0.138 139.4)
XYZxyz(10.7039, 17.5113, 5.2981)
Luminance0.1751 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40832D #702D83
analogous
#6B832D #40832D #2D8345
triadic
#40832D #2D4083 #832D40
tetradic
#40832D #2D6B83 #702D83 #83452D
square
#40832D #2D6B83 #702D83 #83452D
split-complementary
#40832D #452D83 #832D6B
monochromatic
#13280E #2A551D #40832D #56B13D #78C962

Accessibility & contrast

On white

4.66
#40832D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#40832D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #40832D
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40832D#FFFFFF#000000##FFFFFF
##40832D1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877823
Deuteranopia (green-blind)
#7E7234
Tritanopia (blue-blind)
#3A7F71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #40832d;
/* rgb */ color: rgb(64, 131, 45);
/* oklch */ color: oklch(54.7% 0.138 139.4);
Tailwind
colors: {
  custom: {
    50: '#7ba86a',
    500: '#40832d',
    950: '#000000',
  },
}
SCSS
$custom: #40832d;
$custom-light: #7ba86a;
$custom-dark: #000000;
JSON
{
  "hex": "#40832d",
  "rgb": {
    "r": 64,
    "g": 131,
    "b": 45
  },
  "hsl": {
    "h": 106.744,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54663,
    "c": 0.13846,
    "h": 139.4
  },
  "luminance": 0.17512
}

Semantic roles & 50–950 ramp

primary
#40832D
secondary
#9D5CAF
accent
#4FD8BA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #40832D

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

Preview Lab → · Contrast checker → · Palette generator →

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