#40822F#40822F

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

Color values

HEX#40822F
RGBrgb(64, 130, 47)
HSLhsl(108, 47%, 35%)
HSVhsv(108, 64%, 51%)
CMYKcmyk(50.8%, 0%, 63.8%, 49%)
CIE-LABlab(48.59, -37.64, 37.60)
CIE-LCHlch(48.59, 53.20, 135.03°)
OKLaboklab(54.41% -0.1033 0.0876)
OKLCHoklch(54.41% 0.135 139.7)
XYZxyz(10.6097, 17.2597, 5.4612)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40822F #712F82
analogous
#6A822F #40822F #2F8248
triadic
#40822F #2F4082 #822F40
tetradic
#40822F #2F6A82 #712F82 #82482F
square
#40822F #2F6A82 #712F82 #82482F
split-complementary
#40822F #482F82 #822F6A
monochromatic
#14280E #2A551F #40822F #56AF3F #79C764

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40822F#FFFFFF#000000##FFFFFF
##40822F1.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)
#867726
Deuteranopia (green-blind)
#7D7136
Tritanopia (blue-blind)
#3A7E70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #40822f;
/* rgb */ color: rgb(64, 130, 47);
/* oklch */ color: oklch(54.4% 0.135 139.7);
Tailwind
colors: {
  custom: {
    50: '#7ba76b',
    500: '#40822f',
    950: '#000000',
  },
}
SCSS
$custom: #40822f;
$custom-light: #7ba76b;
$custom-dark: #000000;
JSON
{
  "hex": "#40822f",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 47
  },
  "hsl": {
    "h": 107.711,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54413,
    "c": 0.13543,
    "h": 139.7
  },
  "luminance": 0.1726
}

Semantic roles & 50–950 ramp

primary
#40822F
secondary
#9E5FAE
accent
#51D7BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #40822F

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

Preview Lab → · Contrast checker → · Palette generator →

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