#40912F#40912F

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

Color values

HEX#40912F
RGBrgb(64, 145, 47)
HSLhsl(110, 51%, 38%)
HSVhsv(110, 68%, 57%)
CMYKcmyk(55.9%, 0%, 67.6%, 43.1%)
CIE-LABlab(53.54, -43.78, 43.06)
CIE-LCHlch(53.54, 61.40, 135.48°)
OKLaboklab(58.49% -0.1199 0.0992)
OKLCHoklch(58.49% 0.156 140.4)
XYZxyz(12.7523, 21.5450, 6.1754)
Luminance0.2155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40912F #802F91
analogous
#71912F #40912F #2F914F
triadic
#40912F #2F4091 #912F40
tetradic
#40912F #2F7191 #802F91 #914F2F
square
#40912F #2F7191 #802F91 #914F2F
split-complementary
#40912F #4F2F91 #912F71
monochromatic
#173511 #2C6320 #40912F #54BF3E #7DCF6B

Accessibility & contrast

On white

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

On black

5.31
#40912F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40912F
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40912F#FFFFFF#000000##000000
##40912F1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958422
Deuteranopia (green-blind)
#8A7D38
Tritanopia (blue-blind)
#378C7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #40912f;
/* rgb */ color: rgb(64, 145, 47);
/* oklch */ color: oklch(58.5% 0.156 140.4);
Tailwind
colors: {
  custom: {
    50: '#7db26c',
    500: '#40912f',
    950: '#000000',
  },
}
SCSS
$custom: #40912f;
$custom-light: #7db26c;
$custom-dark: #000000;
JSON
{
  "hex": "#40912f",
  "rgb": {
    "r": 64,
    "g": 145,
    "b": 47
  },
  "hsl": {
    "h": 109.592,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58489,
    "c": 0.15561,
    "h": 140.4
  },
  "luminance": 0.21546
}

Semantic roles & 50–950 ramp

primary
#40912F
secondary
#A865B6
accent
#4DDBC2
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #40912F

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

Preview Lab → · Contrast checker → · Palette generator →

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