#40A262#40A262

#40A262 is a light, vivid green. Relative luminance 0.278; OKLCH L 63.8% C 0.133 H 152.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#40A262
RGBrgb(64, 162, 98)
HSLhsl(141, 43%, 44%)
HSVhsv(141, 60%, 64%)
CMYKcmyk(60.5%, 0%, 39.5%, 36.5%)
CIE-LABlab(59.72, -43.35, 24.98)
CIE-LCHlch(59.72, 50.03, 150.05°)
OKLaboklab(63.79% -0.1173 0.0622)
OKLCHoklch(63.79% 0.133 152.1)
XYZxyz(17.2380, 27.8108, 16.0125)
Luminance0.2781 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A262 #A24080
analogous
#4FA240 #40A262 #40A293
triadic
#40A262 #6240A2 #A26240
tetradic
#40A262 #404FA2 #A24080 #A29340
square
#40A262 #404FA2 #A24080 #A29340
split-complementary
#40A262 #9340A2 #A2404F
monochromatic
#1D4A2D #2F7647 #40A262 #5FC081 #8BD1A3

Accessibility & contrast

On white

3.20
#40A262 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#40A262 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A262
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A262#FFFFFF#000000##000000
##40A2621.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2955E
Deuteranopia (green-blind)
#958C66
Tritanopia (blue-blind)
#20A092
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a262;
/* rgb */ color: rgb(64, 162, 98);
/* oklch */ color: oklch(63.8% 0.133 152.1);
Tailwind
colors: {
  custom: {
    50: '#7ebe8f',
    500: '#40a262',
    950: '#000000',
  },
}
SCSS
$custom: #40a262;
$custom-light: #7ebe8f;
$custom-dark: #000000;
JSON
{
  "hex": "#40a262",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 98
  },
  "hsl": {
    "h": 140.816,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.63786,
    "c": 0.13281,
    "h": 152.1
  },
  "luminance": 0.27812
}

Semantic roles & 50–950 ramp

primary
#40A262
secondary
#BC82A8
accent
#55A7D3
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #40A262

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

Preview Lab → · Contrast checker → · Palette generator →

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