#40A438#40A438

#40A438 is a light, vivid green. Relative luminance 0.279; OKLCH L 63.7% C 0.173 H 142.1°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#40A438
RGBrgb(64, 164, 56)
HSLhsl(116, 49%, 43%)
HSVhsv(116, 66%, 64%)
CMYKcmyk(61%, 0%, 65.9%, 35.7%)
CIE-LABlab(59.82, -50.15, 45.99)
CIE-LCHlch(59.82, 68.04, 137.48°)
OKLaboklab(63.7% -0.1366 0.1064)
OKLCHoklch(63.7% 0.173 142.1)
XYZxyz(16.1028, 27.9249, 8.2821)
Luminance0.2793 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A438 #9C38A4
analogous
#76A438 #40A438 #38A466
triadic
#40A438 #3840A4 #A43840
tetradic
#40A438 #3876A4 #9C38A4 #A46638
square
#40A438 #3876A4 #9C38A4 #A46638
split-complementary
#40A438 #6638A4 #A43876
monochromatic
#1C4919 #2E7628 #40A438 #5DC554 #88D482

Accessibility & contrast

On white

3.19
#40A438 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#40A438 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A438
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A438#FFFFFF#000000##000000
##40A4381.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8952A
Deuteranopia (green-blind)
#9B8D41
Tritanopia (blue-blind)
#2F9F8E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a438;
/* rgb */ color: rgb(64, 164, 56);
/* oklch */ color: oklch(63.7% 0.173 142.1);
Tailwind
colors: {
  custom: {
    50: '#80c073',
    500: '#40a438',
    950: '#000000',
  },
}
SCSS
$custom: #40a438;
$custom-light: #80c073;
$custom-dark: #000000;
JSON
{
  "hex": "#40a438",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 56
  },
  "hsl": {
    "h": 115.556,
    "s": 49.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.63695,
    "c": 0.17319,
    "h": 142.1
  },
  "luminance": 0.27926
}

Semantic roles & 50–950 ramp

primary
#40A438
secondary
#B97ABE
accent
#4FD9CE
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A438

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

Preview Lab → · Contrast checker → · Palette generator →

#40A438 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva