#40942F#40942F

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

Color values

HEX#40942F
RGBrgb(64, 148, 47)
HSLhsl(110, 52%, 38%)
HSVhsv(110, 68%, 58%)
CMYKcmyk(56.8%, 0%, 68.2%, 42%)
CIE-LABlab(54.53, -44.95, 44.12)
CIE-LCHlch(54.53, 62.99, 135.54°)
OKLaboklab(59.3% -0.1231 0.1014)
OKLCHoklch(59.3% 0.16 140.5)
XYZxyz(13.2168, 22.4739, 6.3302)
Luminance0.2248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40942F #832F94
analogous
#72942F #40942F #2F9450
triadic
#40942F #2F4094 #942F40
tetradic
#40942F #2F7294 #832F94 #94502F
square
#40942F #2F7294 #832F94 #94502F
split-complementary
#40942F #502F94 #942F72
monochromatic
#183711 #2C6620 #40942F #54C23E #7ED16D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40942F#FFFFFF#000000##000000
##40942F1.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)
#988721
Deuteranopia (green-blind)
#8D8038
Tritanopia (blue-blind)
#368F7F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #40942f;
/* rgb */ color: rgb(64, 148, 47);
/* oklch */ color: oklch(59.3% 0.160 140.5);
Tailwind
colors: {
  custom: {
    50: '#7eb46d',
    500: '#40942f',
    950: '#000000',
  },
}
SCSS
$custom: #40942f;
$custom-light: #7eb46d;
$custom-dark: #000000;
JSON
{
  "hex": "#40942f",
  "rgb": {
    "r": 64,
    "g": 148,
    "b": 47
  },
  "hsl": {
    "h": 109.901,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59302,
    "c": 0.1595,
    "h": 140.5
  },
  "luminance": 0.22475
}

Semantic roles & 50–950 ramp

primary
#40942F
secondary
#AA67B8
accent
#4DDBC3
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40942F

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

Preview Lab → · Contrast checker → · Palette generator →

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