#40943C#40943C

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

Color values

HEX#40943C
RGBrgb(64, 148, 60)
HSLhsl(117, 42%, 41%)
HSVhsv(117, 59%, 58%)
CMYKcmyk(56.8%, 0%, 59.5%, 42%)
CIE-LABlab(54.65, -43.54, 38.32)
CIE-LCHlch(54.65, 58.00, 138.65°)
OKLaboklab(59.45% -0.1185 0.0904)
OKLCHoklch(59.45% 0.149 142.7)
XYZxyz(13.5192, 22.5949, 7.9229)
Luminance0.2260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40943C #903C94
analogous
#6C943C #40943C #3C9464
triadic
#40943C #3C4094 #943C40
tetradic
#40943C #3C6C94 #903C94 #94643C
square
#40943C #3C6C94 #903C94 #94643C
split-complementary
#40943C #643C94 #943C6C
monochromatic
#1A3D19 #2D682A #40943C #58BA54 #83CB7F

Accessibility & contrast

On white

3.80
#40943C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40943C#FFFFFF#000000##000000
##40943C1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978733
Deuteranopia (green-blind)
#8C8043
Tritanopia (blue-blind)
#339081
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #40943c;
/* rgb */ color: rgb(64, 148, 60);
/* oklch */ color: oklch(59.4% 0.149 142.7);
Tailwind
colors: {
  custom: {
    50: '#7db475',
    500: '#40943c',
    950: '#000000',
  },
}
SCSS
$custom: #40943c;
$custom-light: #7db475;
$custom-dark: #000000;
JSON
{
  "hex": "#40943c",
  "rgb": {
    "r": 64,
    "g": 148,
    "b": 60
  },
  "hsl": {
    "h": 117.273,
    "s": 42.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.59446,
    "c": 0.14907,
    "h": 142.7
  },
  "luminance": 0.22596
}

Semantic roles & 50–950 ramp

primary
#40943C
secondary
#B277B5
accent
#56D2CC
background
#F8FBF7
surface
#EFF6ED
border
#CAD0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #40943C

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

Preview Lab → · Contrast checker → · Palette generator →

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