#40942C#40942C

#40942C is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.3% C 0.162 H 140.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#40942C
RGBrgb(64, 148, 44)
HSLhsl(108, 54%, 38%)
HSVhsv(108, 70%, 58%)
CMYKcmyk(56.8%, 0%, 70.3%, 42%)
CIE-LABlab(54.50, -45.23, 45.35)
CIE-LCHlch(54.50, 64.05, 134.92°)
OKLaboklab(59.27% -0.124 0.1036)
OKLCHoklch(59.27% 0.162 140.1)
XYZxyz(13.1583, 22.4505, 6.0224)
Luminance0.2245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40942C #802C94
analogous
#74942C #40942C #2C944C
triadic
#40942C #2C4094 #942C40
tetradic
#40942C #2C7494 #802C94 #944C2C
square
#40942C #2C7494 #802C94 #944C2C
split-complementary
#40942C #4C2C94 #942C74
monochromatic
#173610 #2C651E #40942C #54C33A #7DD268

Accessibility & contrast

On white

3.82
#40942C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#40942C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40942C
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40942C#FFFFFF#000000##000000
##40942C1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871D
Deuteranopia (green-blind)
#8D8036
Tritanopia (blue-blind)
#368F7F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #40942c;
/* rgb */ color: rgb(64, 148, 44);
/* oklch */ color: oklch(59.3% 0.162 140.1);
Tailwind
colors: {
  custom: {
    50: '#7eb46b',
    500: '#40942c',
    950: '#000000',
  },
}
SCSS
$custom: #40942c;
$custom-light: #7eb46b;
$custom-dark: #000000;
JSON
{
  "hex": "#40942c",
  "rgb": {
    "r": 64,
    "g": 148,
    "b": 44
  },
  "hsl": {
    "h": 108.462,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59274,
    "c": 0.16164,
    "h": 140.1
  },
  "luminance": 0.22452
}

Semantic roles & 50–950 ramp

primary
#40942C
secondary
#A863B9
accent
#4ADEC1
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40942C

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

Preview Lab → · Contrast checker → · Palette generator →

#40942C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva