#40A265#40A265

#40A265 is a light, vivid green. Relative luminance 0.279; OKLCH L 63.8% C 0.130 H 153.2°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#40A265
RGBrgb(64, 162, 101)
HSLhsl(143, 43%, 44%)
HSVhsv(143, 60%, 64%)
CMYKcmyk(60.5%, 0%, 37.7%, 36.5%)
CIE-LABlab(59.77, -42.79, 23.43)
CIE-LCHlch(59.77, 48.78, 151.30°)
OKLaboklab(63.85% -0.1159 0.0586)
OKLCHoklch(63.85% 0.13 153.2)
XYZxyz(17.3823, 27.8686, 16.7725)
Luminance0.2787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A265 #A2407D
analogous
#4CA240 #40A265 #40A296
triadic
#40A265 #6540A2 #A26540
tetradic
#40A265 #404CA2 #A2407D #A29640
square
#40A265 #404CA2 #A2407D #A29640
split-complementary
#40A265 #9640A2 #A2404C
monochromatic
#1D4A2E #2F764A #40A265 #5FC084 #8BD1A6

Accessibility & contrast

On white

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

On black

6.57
#40A265 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A265
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A265#FFFFFF#000000##000000
##40A2651.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29661
Deuteranopia (green-blind)
#958C69
Tritanopia (blue-blind)
#1FA092
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a265;
/* rgb */ color: rgb(64, 162, 101);
/* oklch */ color: oklch(63.8% 0.130 153.2);
Tailwind
colors: {
  custom: {
    50: '#7ebe91',
    500: '#40a265',
    950: '#000000',
  },
}
SCSS
$custom: #40a265;
$custom-light: #7ebe91;
$custom-dark: #000000;
JSON
{
  "hex": "#40a265",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 101
  },
  "hsl": {
    "h": 142.653,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.63846,
    "c": 0.1299,
    "h": 153.2
  },
  "luminance": 0.2787
}

Semantic roles & 50–950 ramp

primary
#40A265
secondary
#BC82A6
accent
#55A3D3
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120D
muted
#7C817D

Preview Lab

Preview with #40A265

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

Preview Lab → · Contrast checker → · Palette generator →

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