#40912C#40912C

#40912C is a mid, vivid green. Relative luminance 0.215; OKLCH L 58.5% C 0.158 H 140.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#40912C
RGBrgb(64, 145, 44)
HSLhsl(108, 53%, 37%)
HSVhsv(108, 70%, 57%)
CMYKcmyk(55.9%, 0%, 69.7%, 43.1%)
CIE-LABlab(53.52, -44.06, 44.31)
CIE-LCHlch(53.52, 62.49, 134.84°)
OKLaboklab(58.46% -0.1209 0.1014)
OKLCHoklch(58.46% 0.158 140)
XYZxyz(12.6938, 21.5216, 5.8675)
Luminance0.2152 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40912C #7D2C91
analogous
#73912C #40912C #2C914B
triadic
#40912C #2C4091 #912C40
tetradic
#40912C #2C7391 #7D2C91 #914B2C
square
#40912C #2C7391 #7D2C91 #914B2C
split-complementary
#40912C #4B2C91 #912C73
monochromatic
#173310 #2B621E #40912C #55C03A #7CD167

Accessibility & contrast

On white

3.96
#40912C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#40912C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40912C
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40912C#FFFFFF#000000##000000
##40912C1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841E
Deuteranopia (green-blind)
#8B7D35
Tritanopia (blue-blind)
#378C7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #40912c;
/* rgb */ color: rgb(64, 145, 44);
/* oklch */ color: oklch(58.5% 0.158 140.0);
Tailwind
colors: {
  custom: {
    50: '#7db26b',
    500: '#40912c',
    950: '#000000',
  },
}
SCSS
$custom: #40912c;
$custom-light: #7db26b;
$custom-dark: #000000;
JSON
{
  "hex": "#40912c",
  "rgb": {
    "r": 64,
    "g": 145,
    "b": 44
  },
  "hsl": {
    "h": 108.119,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58461,
    "c": 0.1578,
    "h": 140
  },
  "luminance": 0.21523
}

Semantic roles & 50–950 ramp

primary
#40912C
secondary
#A662B7
accent
#4BDDC0
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #40912C

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

Preview Lab → · Contrast checker → · Palette generator →

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