#40912B#40912B

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

Color values

HEX#40912B
RGBrgb(64, 145, 43)
HSLhsl(108, 54%, 37%)
HSVhsv(108, 70%, 57%)
CMYKcmyk(55.9%, 0%, 70.3%, 43.1%)
CIE-LABlab(53.51, -44.15, 44.72)
CIE-LCHlch(53.51, 62.84, 134.63°)
OKLaboklab(58.45% -0.1212 0.1022)
OKLCHoklch(58.45% 0.159 139.9)
XYZxyz(12.6753, 21.5142, 5.7697)
Luminance0.2152 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40912B #7C2B91
analogous
#73912B #40912B #2B9149
triadic
#40912B #2B4091 #912B40
tetradic
#40912B #2B7391 #7C2B91 #91492B
square
#40912B #2B7391 #7C2B91 #91492B
split-complementary
#40912B #492B91 #912B73
monochromatic
#16330F #2B621D #40912B #55C039 #7BD165

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40912B#FFFFFF#000000##000000
##40912B1.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)
#95841C
Deuteranopia (green-blind)
#8B7D34
Tritanopia (blue-blind)
#378C7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #40912b;
/* rgb */ color: rgb(64, 145, 43);
/* oklch */ color: oklch(58.5% 0.159 139.9);
Tailwind
colors: {
  custom: {
    50: '#7db26a',
    500: '#40912b',
    950: '#000000',
  },
}
SCSS
$custom: #40912b;
$custom-light: #7db26a;
$custom-dark: #000000;
JSON
{
  "hex": "#40912b",
  "rgb": {
    "r": 64,
    "g": 145,
    "b": 43
  },
  "hsl": {
    "h": 107.647,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58451,
    "c": 0.15851,
    "h": 139.9
  },
  "luminance": 0.21515
}

Semantic roles & 50–950 ramp

primary
#40912B
secondary
#A660B8
accent
#4ADEBF
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40912B

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

Preview Lab → · Contrast checker → · Palette generator →

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