#40942B#40942B

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

Color values

HEX#40942B
RGBrgb(64, 148, 43)
HSLhsl(108, 55%, 37%)
HSVhsv(108, 71%, 58%)
CMYKcmyk(56.8%, 0%, 70.9%, 42%)
CIE-LABlab(54.49, -45.32, 45.75)
CIE-LCHlch(54.49, 64.40, 134.73°)
OKLaboklab(59.27% -0.1243 0.1043)
OKLCHoklch(59.27% 0.162 140)
XYZxyz(13.1397, 22.4431, 5.9246)
Luminance0.2244 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40942B #7F2B94
analogous
#75942B #40942B #2B944A
triadic
#40942B #2B4094 #942B40
tetradic
#40942B #2B7594 #7F2B94 #944A2B
square
#40942B #2B7594 #7F2B94 #944A2B
split-complementary
#40942B #4A2B94 #942B75
monochromatic
#17350F #2B651D #40942B #55C339 #7CD367

Accessibility & contrast

On white

3.83
#40942B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40942B#FFFFFF#000000##000000
##40942B1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40942b;
/* rgb */ color: rgb(64, 148, 43);
/* oklch */ color: oklch(59.3% 0.162 140.0);
Tailwind
colors: {
  custom: {
    50: '#7eb46a',
    500: '#40942b',
    950: '#000000',
  },
}
SCSS
$custom: #40942b;
$custom-light: #7eb46a;
$custom-dark: #000000;
JSON
{
  "hex": "#40942b",
  "rgb": {
    "r": 64,
    "g": 148,
    "b": 43
  },
  "hsl": {
    "h": 108,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59265,
    "c": 0.16233,
    "h": 140
  },
  "luminance": 0.22444
}

Semantic roles & 50–950 ramp

primary
#40942B
secondary
#A862B9
accent
#49DEC1
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40942B

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

Preview Lab → · Contrast checker → · Palette generator →

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