#40942E#40942E

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

Color values

HEX#40942E
RGBrgb(64, 148, 46)
HSLhsl(109, 53%, 38%)
HSVhsv(109, 69%, 58%)
CMYKcmyk(56.8%, 0%, 68.9%, 42%)
CIE-LABlab(54.52, -45.05, 44.53)
CIE-LCHlch(54.52, 63.35, 135.33°)
OKLaboklab(59.29% -0.1234 0.1022)
OKLCHoklch(59.29% 0.16 140.4)
XYZxyz(13.1968, 22.4659, 6.2252)
Luminance0.2247 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40942E #822E94
analogous
#73942E #40942E #2E944F
triadic
#40942E #2E4094 #942E40
tetradic
#40942E #2E7394 #822E94 #944F2E
square
#40942E #2E7394 #822E94 #944F2E
split-complementary
#40942E #4F2E94 #942E73
monochromatic
#183711 #2C651F #40942E #54C33D #7DD16B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40942E#FFFFFF#000000##000000
##40942E1.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)
#988720
Deuteranopia (green-blind)
#8D8037
Tritanopia (blue-blind)
#368F7F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #40942e;
/* rgb */ color: rgb(64, 148, 46);
/* oklch */ color: oklch(59.3% 0.160 140.4);
Tailwind
colors: {
  custom: {
    50: '#7eb46c',
    500: '#40942e',
    950: '#000000',
  },
}
SCSS
$custom: #40942e;
$custom-light: #7eb46c;
$custom-dark: #000000;
JSON
{
  "hex": "#40942e",
  "rgb": {
    "r": 64,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 109.412,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59292,
    "c": 0.16023,
    "h": 140.4
  },
  "luminance": 0.22467
}

Semantic roles & 50–950 ramp

primary
#40942E
secondary
#AA66B8
accent
#4CDCC3
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40942E

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

Preview Lab → · Contrast checker → · Palette generator →

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