#40943A#40943A

#40943A is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.4% C 0.151 H 142.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#40943A
RGBrgb(64, 148, 58)
HSLhsl(116, 44%, 40%)
HSVhsv(116, 61%, 58%)
CMYKcmyk(56.8%, 0%, 60.8%, 42%)
CIE-LABlab(54.63, -43.78, 39.25)
CIE-LCHlch(54.63, 58.80, 138.12°)
OKLaboklab(59.42% -0.1193 0.0923)
OKLCHoklch(59.42% 0.151 142.3)
XYZxyz(13.4673, 22.5741, 7.6497)
Luminance0.2258 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40943A #8E3A94
analogous
#6D943A #40943A #3A9461
triadic
#40943A #3A4094 #943A40
tetradic
#40943A #3A6D94 #8E3A94 #94613A
square
#40943A #3A6D94 #8E3A94 #94613A
split-complementary
#40943A #613A94 #943A6D
monochromatic
#1A3C18 #2D6829 #40943A #58BB51 #82CC7D

Accessibility & contrast

On white

3.81
#40943A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#40943A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40943A
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40943A#FFFFFF#000000##000000
##40943A1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978730
Deuteranopia (green-blind)
#8C8041
Tritanopia (blue-blind)
#349081
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #40943a;
/* rgb */ color: rgb(64, 148, 58);
/* oklch */ color: oklch(59.4% 0.151 142.3);
Tailwind
colors: {
  custom: {
    50: '#7db473',
    500: '#40943a',
    950: '#000000',
  },
}
SCSS
$custom: #40943a;
$custom-light: #7db473;
$custom-dark: #000000;
JSON
{
  "hex": "#40943a",
  "rgb": {
    "r": 64,
    "g": 148,
    "b": 58
  },
  "hsl": {
    "h": 116,
    "s": 43.689,
    "l": 40.392
  },
  "oklch": {
    "l": 0.59421,
    "c": 0.15078,
    "h": 142.3
  },
  "luminance": 0.22575
}

Semantic roles & 50–950 ramp

primary
#40943A
secondary
#B174B5
accent
#54D3CB
background
#F8FBF7
surface
#EFF6ED
border
#CAD0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #40943A

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

Preview Lab → · Contrast checker → · Palette generator →

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