#40912A#40912A

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

Color values

HEX#40912A
RGBrgb(64, 145, 42)
HSLhsl(107, 55%, 37%)
HSVhsv(107, 71%, 57%)
CMYKcmyk(55.9%, 0%, 71%, 43.1%)
CIE-LABlab(53.50, -44.24, 45.12)
CIE-LCHlch(53.50, 63.19, 134.43°)
OKLaboklab(58.44% -0.1215 0.1029)
OKLCHoklch(58.44% 0.159 139.7)
XYZxyz(12.6571, 21.5069, 5.6743)
Luminance0.2151 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40912A #7B2A91
analogous
#74912A #40912A #2A9147
triadic
#40912A #2A4091 #912A40
tetradic
#40912A #2A7491 #7B2A91 #91472A
square
#40912A #2A7491 #7B2A91 #91472A
split-complementary
#40912A #472A91 #912A74
monochromatic
#16320F #2B621C #40912A #55C038 #7BD263

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #40912a;
/* rgb */ color: rgb(64, 145, 42);
/* oklch */ color: oklch(58.4% 0.159 139.7);
Tailwind
colors: {
  custom: {
    50: '#7eb26a',
    500: '#40912a',
    950: '#000000',
  },
}
SCSS
$custom: #40912a;
$custom-light: #7eb26a;
$custom-dark: #000000;
JSON
{
  "hex": "#40912a",
  "rgb": {
    "r": 64,
    "g": 145,
    "b": 42
  },
  "hsl": {
    "h": 107.184,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58443,
    "c": 0.1592,
    "h": 139.7
  },
  "luminance": 0.21508
}

Semantic roles & 50–950 ramp

primary
#40912A
secondary
#A55FB8
accent
#49DEBF
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40912A

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

Preview Lab → · Contrast checker → · Palette generator →

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