#40A267#40A267

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

Color values

HEX#40A267
RGBrgb(64, 162, 103)
HSLhsl(144, 43%, 44%)
HSVhsv(144, 60%, 64%)
CMYKcmyk(60.5%, 0%, 36.4%, 36.5%)
CIE-LABlab(59.81, -42.40, 22.39)
CIE-LCHlch(59.81, 47.95, 152.17°)
OKLaboklab(63.89% -0.115 0.0561)
OKLCHoklch(63.89% 0.128 154)
XYZxyz(17.4814, 27.9082, 17.2949)
Luminance0.2791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A267 #A2407B
analogous
#4AA240 #40A267 #40A298
triadic
#40A267 #6740A2 #A26740
tetradic
#40A267 #404AA2 #A2407B #A29840
square
#40A267 #404AA2 #A2407B #A29840
split-complementary
#40A267 #9840A2 #A2404A
monochromatic
#1D4A2F #2F764B #40A267 #5FC086 #8BD1A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A267#FFFFFF#000000##000000
##40A2671.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)
#A29663
Deuteranopia (green-blind)
#958C6B
Tritanopia (blue-blind)
#1DA093
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a267;
/* rgb */ color: rgb(64, 162, 103);
/* oklch */ color: oklch(63.9% 0.128 154.0);
Tailwind
colors: {
  custom: {
    50: '#7ebe93',
    500: '#40a267',
    950: '#000000',
  },
}
SCSS
$custom: #40a267;
$custom-light: #7ebe93;
$custom-dark: #000000;
JSON
{
  "hex": "#40a267",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 103
  },
  "hsl": {
    "h": 143.878,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.63887,
    "c": 0.12796,
    "h": 154
  },
  "luminance": 0.2791
}

Semantic roles & 50–950 ramp

primary
#40A267
secondary
#BC82A5
accent
#55A1D3
background
#F8FBF9
surface
#EFF7F1
border
#CAD0CB
text
#0B120D
muted
#7C817E

Preview Lab

Preview with #40A267

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

Preview Lab → · Contrast checker → · Palette generator →

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