#40A225#40A225

#40A225 is a light, vivid green. Relative luminance 0.271; OKLCH L 63.0% C 0.183 H 140.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#40A225
RGBrgb(64, 162, 37)
HSLhsl(107, 63%, 39%)
HSVhsv(107, 77%, 64%)
CMYKcmyk(60.5%, 0%, 77.2%, 36.5%)
CIE-LABlab(59.03, -51.02, 52.57)
CIE-LCHlch(59.03, 73.26, 134.14°)
OKLaboklab(63% -0.1401 0.1178)
OKLCHoklch(63% 0.183 140)
XYZxyz(15.3679, 27.0628, 6.1637)
Luminance0.2706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A225 #8725A2
analogous
#7FA225 #40A225 #25A249
triadic
#40A225 #2540A2 #A22540
tetradic
#40A225 #257FA2 #8725A2 #A24925
square
#40A225 #257FA2 #8725A2 #A24925
split-complementary
#40A225 #4925A2 #A2257F
monochromatic
#193E0E #2C701A #40A225 #56D134 #7FDC65

Accessibility & contrast

On white

3.27
#40A225 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#40A225 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A225
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A225#FFFFFF#000000##000000
##40A2251.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79306
Deuteranopia (green-blind)
#9B8B33
Tritanopia (blue-blind)
#339D8A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a225;
/* rgb */ color: rgb(64, 162, 37);
/* oklch */ color: oklch(63.0% 0.183 140.0);
Tailwind
colors: {
  custom: {
    50: '#81be69',
    500: '#40a225',
    950: '#000000',
  },
}
SCSS
$custom: #40a225;
$custom-light: #81be69;
$custom-dark: #000000;
JSON
{
  "hex": "#40a225",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 107.04,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62999,
    "c": 0.18302,
    "h": 140
  },
  "luminance": 0.27064
}

Semantic roles & 50–950 ramp

primary
#40A225
secondary
#AD61C2
accent
#42E6C2
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A225

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

Preview Lab → · Contrast checker → · Palette generator →

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