#40A248#40A248

#40A248 is a light, vivid green. Relative luminance 0.274; OKLCH L 63.4% C 0.157 H 144.8°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#40A248
RGBrgb(64, 162, 72)
HSLhsl(125, 43%, 44%)
HSVhsv(125, 60%, 64%)
CMYKcmyk(60.5%, 0%, 55.6%, 36.5%)
CIE-LABlab(59.34, -47.50, 38.00)
CIE-LCHlch(59.34, 60.83, 141.34°)
OKLaboklab(63.35% -0.1287 0.0907)
OKLCHoklch(63.35% 0.157 144.8)
XYZxyz(16.2034, 27.3970, 10.5639)
Luminance0.2740 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A248 #A2409A
analogous
#69A240 #40A248 #40A279
triadic
#40A248 #4840A2 #A24840
tetradic
#40A248 #4069A2 #A2409A #A27940
square
#40A248 #4069A2 #A2409A #A27940
split-complementary
#40A248 #7940A2 #A24069
monochromatic
#1D4A21 #2F7635 #40A248 #5FC067 #8BD191

Accessibility & contrast

On white

3.24
#40A248 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#40A248 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A248
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A248#FFFFFF#000000##000000
##40A2481.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59440
Deuteranopia (green-blind)
#988C4F
Tritanopia (blue-blind)
#2C9E8E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a248;
/* rgb */ color: rgb(64, 162, 72);
/* oklch */ color: oklch(63.4% 0.157 144.8);
Tailwind
colors: {
  custom: {
    50: '#7fbe7d',
    500: '#40a248',
    950: '#000000',
  },
}
SCSS
$custom: #40a248;
$custom-light: #7fbe7d;
$custom-dark: #000000;
JSON
{
  "hex": "#40a248",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 72
  },
  "hsl": {
    "h": 124.898,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.63352,
    "c": 0.15745,
    "h": 144.8
  },
  "luminance": 0.27399
}

Semantic roles & 50–950 ramp

primary
#40A248
secondary
#BC82B7
accent
#55C9D3
background
#F8FBF7
surface
#EFF7EE
border
#CAD0C9
text
#0B120A
muted
#7C817C

Preview Lab

Preview with #40A248

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

Preview Lab → · Contrast checker → · Palette generator →

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