#40A258#40A258

#40A258 is a light, vivid green. Relative luminance 0.276; OKLCH L 63.6% C 0.143 H 148.8°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#40A258
RGBrgb(64, 162, 88)
HSLhsl(135, 43%, 44%)
HSVhsv(135, 60%, 64%)
CMYKcmyk(60.5%, 0%, 45.7%, 36.5%)
CIE-LABlab(59.56, -45.10, 30.10)
CIE-LCHlch(59.56, 54.22, 146.28°)
OKLaboklab(63.6% -0.1219 0.0738)
OKLCHoklch(63.6% 0.143 148.8)
XYZxyz(16.7950, 27.6336, 13.6794)
Luminance0.2763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A258 #A2408A
analogous
#59A240 #40A258 #40A289
triadic
#40A258 #5840A2 #A25840
tetradic
#40A258 #4059A2 #A2408A #A28940
square
#40A258 #4059A2 #A2408A #A28940
split-complementary
#40A258 #8940A2 #A24059
monochromatic
#1D4A28 #2F7640 #40A258 #5FC077 #8BD19C

Accessibility & contrast

On white

3.22
#40A258 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#40A258 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A258
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A258#FFFFFF#000000##000000
##40A2581.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39552
Deuteranopia (green-blind)
#978C5D
Tritanopia (blue-blind)
#269F90
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a258;
/* rgb */ color: rgb(64, 162, 88);
/* oklch */ color: oklch(63.6% 0.143 148.8);
Tailwind
colors: {
  custom: {
    50: '#7fbe88',
    500: '#40a258',
    950: '#000000',
  },
}
SCSS
$custom: #40a258;
$custom-light: #7fbe88;
$custom-dark: #000000;
JSON
{
  "hex": "#40a258",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 88
  },
  "hsl": {
    "h": 134.694,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.636,
    "c": 0.14251,
    "h": 148.8
  },
  "luminance": 0.27635
}

Semantic roles & 50–950 ramp

primary
#40A258
secondary
#BC82AE
accent
#55B4D3
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #40A258

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

Preview Lab → · Contrast checker → · Palette generator →

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