#40822C#40822C

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

Color values

HEX#40822C
RGBrgb(64, 130, 44)
HSLhsl(106, 49%, 34%)
HSVhsv(106, 66%, 51%)
CMYKcmyk(50.8%, 0%, 66.2%, 49%)
CIE-LABlab(48.56, -37.96, 38.96)
CIE-LCHlch(48.56, 54.39, 134.25°)
OKLaboklab(54.38% -0.1043 0.0902)
OKLCHoklch(54.38% 0.138 139.2)
XYZxyz(10.5512, 17.2363, 5.1533)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40822C #6E2C82
analogous
#6B822C #40822C #2C8243
triadic
#40822C #2C4082 #822C40
tetradic
#40822C #2C6B82 #6E2C82 #82432C
square
#40822C #2C6B82 #6E2C82 #82432C
split-complementary
#40822C #432C82 #822C6B
monochromatic
#13270D #29541D #40822C #57B03B #78C95F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40822C#FFFFFF#000000##FFFFFF
##40822C1.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)
#867721
Deuteranopia (green-blind)
#7D7133
Tritanopia (blue-blind)
#3A7E70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #40822c;
/* rgb */ color: rgb(64, 130, 44);
/* oklch */ color: oklch(54.4% 0.138 139.2);
Tailwind
colors: {
  custom: {
    50: '#7ba769',
    500: '#40822c',
    950: '#000000',
  },
}
SCSS
$custom: #40822c;
$custom-light: #7ba769;
$custom-dark: #000000;
JSON
{
  "hex": "#40822c",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 44
  },
  "hsl": {
    "h": 106.047,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5438,
    "c": 0.1379,
    "h": 139.2
  },
  "luminance": 0.17237
}

Semantic roles & 50–950 ramp

primary
#40822C
secondary
#9B5BAF
accent
#4FD9B9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #40822C

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

Preview Lab → · Contrast checker → · Palette generator →

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