#40A434#40A434

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

Color values

HEX#40A434
RGBrgb(64, 164, 52)
HSLhsl(114, 52%, 42%)
HSVhsv(114, 68%, 64%)
CMYKcmyk(61%, 0%, 68.3%, 35.7%)
CIE-LABlab(59.79, -50.54, 47.65)
CIE-LCHlch(59.79, 69.46, 136.69°)
OKLaboklab(63.66% -0.1379 0.1095)
OKLCHoklch(63.66% 0.176 141.6)
XYZxyz(16.0088, 27.8874, 7.7873)
Luminance0.2789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A434 #9834A4
analogous
#78A434 #40A434 #34A460
triadic
#40A434 #3440A4 #A43440
tetradic
#40A434 #3478A4 #9834A4 #A46034
square
#40A434 #3478A4 #9834A4 #A46034
split-complementary
#40A434 #6034A4 #A43478
monochromatic
#1C4717 #2E7625 #40A434 #5BC74E #86D67D

Accessibility & contrast

On white

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

On black

6.58
#40A434 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A434
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A434#FFFFFF#000000##000000
##40A4341.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89524
Deuteranopia (green-blind)
#9C8D3E
Tritanopia (blue-blind)
#309F8D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a434;
/* rgb */ color: rgb(64, 164, 52);
/* oklch */ color: oklch(63.7% 0.176 141.6);
Tailwind
colors: {
  custom: {
    50: '#80c071',
    500: '#40a434',
    950: '#000000',
  },
}
SCSS
$custom: #40a434;
$custom-light: #80c071;
$custom-dark: #000000;
JSON
{
  "hex": "#40a434",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 52
  },
  "hsl": {
    "h": 113.571,
    "s": 51.852,
    "l": 42.353
  },
  "oklch": {
    "l": 0.63656,
    "c": 0.17608,
    "h": 141.6
  },
  "luminance": 0.27889
}

Semantic roles & 50–950 ramp

primary
#40A434
secondary
#B775BF
accent
#4CDBCC
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A434

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

Preview Lab → · Contrast checker → · Palette generator →

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