#40832F#40832F

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

Color values

HEX#40832F
RGBrgb(64, 131, 47)
HSLhsl(108, 47%, 35%)
HSVhsv(108, 64%, 51%)
CMYKcmyk(51.1%, 0%, 64.1%, 48.6%)
CIE-LABlab(48.92, -38.06, 37.97)
CIE-LCHlch(48.92, 53.76, 135.07°)
OKLaboklab(54.69% -0.1044 0.0884)
OKLCHoklch(54.69% 0.137 139.8)
XYZxyz(10.7433, 17.5270, 5.5057)
Luminance0.1753 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40832F #722F83
analogous
#6A832F #40832F #2F8348
triadic
#40832F #2F4083 #832F40
tetradic
#40832F #2F6A83 #722F83 #83482F
square
#40832F #2F6A83 #722F83 #83482F
split-complementary
#40832F #482F83 #832F6A
monochromatic
#14290F #2A561F #40832F #56B03F #79C865

Accessibility & contrast

On white

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

On black

4.51
#40832F on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##40832F#FFFFFF#000000##FFFFFF
##40832F1.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)
#877825
Deuteranopia (green-blind)
#7E7236
Tritanopia (blue-blind)
#3A7F71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #40832f;
/* rgb */ color: rgb(64, 131, 47);
/* oklch */ color: oklch(54.7% 0.137 139.8);
Tailwind
colors: {
  custom: {
    50: '#7ba86b',
    500: '#40832f',
    950: '#000000',
  },
}
SCSS
$custom: #40832f;
$custom-light: #7ba86b;
$custom-dark: #000000;
JSON
{
  "hex": "#40832f",
  "rgb": {
    "r": 64,
    "g": 131,
    "b": 47
  },
  "hsl": {
    "h": 107.857,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54686,
    "c": 0.13682,
    "h": 139.8
  },
  "luminance": 0.17528
}

Semantic roles & 50–950 ramp

primary
#40832F
secondary
#9F5FAF
accent
#51D7BC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #40832F

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

Preview Lab → · Contrast checker → · Palette generator →

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