#40832A#40832A

#40832A is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.6% C 0.141 H 138.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#40832A
RGBrgb(64, 131, 42)
HSLhsl(105, 51%, 34%)
HSVhsv(105, 68%, 51%)
CMYKcmyk(51.1%, 0%, 67.9%, 48.6%)
CIE-LABlab(48.87, -38.58, 40.20)
CIE-LCHlch(48.87, 55.72, 133.82°)
OKLaboklab(54.63% -0.1062 0.0925)
OKLCHoklch(54.63% 0.141 138.9)
XYZxyz(10.6482, 17.4890, 5.0046)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40832A #6D2A83
analogous
#6D832A #40832A #2A8341
triadic
#40832A #2A4083 #832A40
tetradic
#40832A #2A6D83 #6D2A83 #83412A
square
#40832A #2A6D83 #6D2A83 #83412A
split-complementary
#40832A #412A83 #832A6D
monochromatic
#13260C #29551B #40832A #57B139 #78CB5D

Accessibility & contrast

On white

4.67
#40832A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #40832A
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40832A#FFFFFF#000000##FFFFFF
##40832A1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87781E
Deuteranopia (green-blind)
#7E7232
Tritanopia (blue-blind)
#3A7F71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #40832a;
/* rgb */ color: rgb(64, 131, 42);
/* oklch */ color: oklch(54.6% 0.141 138.9);
Tailwind
colors: {
  custom: {
    50: '#7ba868',
    500: '#40832a',
    950: '#000000',
  },
}
SCSS
$custom: #40832a;
$custom-light: #7ba868;
$custom-dark: #000000;
JSON
{
  "hex": "#40832a",
  "rgb": {
    "r": 64,
    "g": 131,
    "b": 42
  },
  "hsl": {
    "h": 105.169,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54632,
    "c": 0.14083,
    "h": 138.9
  },
  "luminance": 0.1749
}

Semantic roles & 50–950 ramp

primary
#40832A
secondary
#9B58B1
accent
#4DDBB8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #40832A

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

Preview Lab → · Contrast checker → · Palette generator →

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