#40822E#40822E

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

Color values

HEX#40822E
RGBrgb(64, 130, 46)
HSLhsl(107, 48%, 35%)
HSVhsv(107, 65%, 51%)
CMYKcmyk(50.8%, 0%, 64.6%, 49%)
CIE-LABlab(48.58, -37.75, 38.06)
CIE-LCHlch(48.58, 53.60, 134.77°)
OKLaboklab(54.4% -0.1036 0.0885)
OKLCHoklch(54.4% 0.136 139.5)
XYZxyz(10.5897, 17.2517, 5.3561)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40822E #702E82
analogous
#6A822E #40822E #2E8246
triadic
#40822E #2E4082 #822E40
tetradic
#40822E #2E6A82 #702E82 #82462E
square
#40822E #2E6A82 #702E82 #82462E
split-complementary
#40822E #462E82 #822E6A
monochromatic
#13280E #2A551E #40822E #56AF3E #78C863

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40822E#FFFFFF#000000##FFFFFF
##40822E1.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)
#867724
Deuteranopia (green-blind)
#7D7135
Tritanopia (blue-blind)
#3A7E70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #40822e;
/* rgb */ color: rgb(64, 130, 46);
/* oklch */ color: oklch(54.4% 0.136 139.5);
Tailwind
colors: {
  custom: {
    50: '#7ba76a',
    500: '#40822e',
    950: '#000000',
  },
}
SCSS
$custom: #40822e;
$custom-light: #7ba76a;
$custom-dark: #000000;
JSON
{
  "hex": "#40822e",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 46
  },
  "hsl": {
    "h": 107.143,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54402,
    "c": 0.13627,
    "h": 139.5
  },
  "luminance": 0.17253
}

Semantic roles & 50–950 ramp

primary
#40822E
secondary
#9D5DAE
accent
#50D7BA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #40822E

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

Preview Lab → · Contrast checker → · Palette generator →

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