#40992A#40992A

#40992A is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.6% C 0.169 H 140.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#40992A
RGBrgb(64, 153, 42)
HSLhsl(108, 57%, 38%)
HSVhsv(108, 73%, 60%)
CMYKcmyk(58.2%, 0%, 72.5%, 40%)
CIE-LABlab(56.13, -47.32, 47.84)
CIE-LCHlch(56.13, 67.29, 134.68°)
OKLaboklab(60.61% -0.1298 0.1086)
OKLCHoklch(60.61% 0.169 140.1)
XYZxyz(13.9229, 24.0384, 6.0962)
Luminance0.2404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40992A #832A99
analogous
#77992A #40992A #2A994B
triadic
#40992A #2A4099 #992A40
tetradic
#40992A #2A7799 #832A99 #994B2A
square
#40992A #2A7799 #832A99 #994B2A
split-complementary
#40992A #4B2A99 #992A77
monochromatic
#183910 #2C691D #40992A #54C838 #7ED668

Accessibility & contrast

On white

3.62
#40992A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#40992A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40992A
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40992A#FFFFFF#000000##000000
##40992A1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B17
Deuteranopia (green-blind)
#928435
Tritanopia (blue-blind)
#359483
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #40992a;
/* rgb */ color: rgb(64, 153, 42);
/* oklch */ color: oklch(60.6% 0.169 140.1);
Tailwind
colors: {
  custom: {
    50: '#7fb86a',
    500: '#40992a',
    950: '#000000',
  },
}
SCSS
$custom: #40992a;
$custom-light: #7fb86a;
$custom-dark: #000000;
JSON
{
  "hex": "#40992a",
  "rgb": {
    "r": 64,
    "g": 153,
    "b": 42
  },
  "hsl": {
    "h": 108.108,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60609,
    "c": 0.16923,
    "h": 140.1
  },
  "luminance": 0.2404
}

Semantic roles & 50–950 ramp

primary
#40992A
secondary
#AA63BC
accent
#48E0C2
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40992A

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

Preview Lab → · Contrast checker → · Palette generator →

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