#40912D#40912D

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

Color values

HEX#40912D
RGBrgb(64, 145, 45)
HSLhsl(109, 53%, 37%)
HSVhsv(109, 69%, 57%)
CMYKcmyk(55.9%, 0%, 69%, 43.1%)
CIE-LABlab(53.52, -43.97, 43.90)
CIE-LCHlch(53.52, 62.13, 135.04°)
OKLaboklab(58.47% -0.1206 0.1007)
OKLCHoklch(58.47% 0.157 140.1)
XYZxyz(12.7129, 21.5292, 5.9677)
Luminance0.2153 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40912D #7E2D91
analogous
#72912D #40912D #2D914C
triadic
#40912D #2D4091 #912D40
tetradic
#40912D #2D7291 #7E2D91 #914C2D
square
#40912D #2D7291 #7E2D91 #914C2D
split-complementary
#40912D #4C2D91 #912D72
monochromatic
#173410 #2B621F #40912D #55C03B #7CD068

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40912D#FFFFFF#000000##000000
##40912D1.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)
#95841F
Deuteranopia (green-blind)
#8B7D36
Tritanopia (blue-blind)
#378C7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #40912d;
/* rgb */ color: rgb(64, 145, 45);
/* oklch */ color: oklch(58.5% 0.157 140.1);
Tailwind
colors: {
  custom: {
    50: '#7db26b',
    500: '#40912d',
    950: '#000000',
  },
}
SCSS
$custom: #40912d;
$custom-light: #7db26b;
$custom-dark: #000000;
JSON
{
  "hex": "#40912d",
  "rgb": {
    "r": 64,
    "g": 145,
    "b": 45
  },
  "hsl": {
    "h": 108.6,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.5847,
    "c": 0.15708,
    "h": 140.1
  },
  "luminance": 0.2153
}

Semantic roles & 50–950 ramp

primary
#40912D
secondary
#A763B7
accent
#4CDCC1
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #40912D

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

Preview Lab → · Contrast checker → · Palette generator →

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