#40A25D#40A25D

#40A25D is a light, vivid green. Relative luminance 0.277; OKLCH L 63.7% C 0.138 H 150.3°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#40A25D
RGBrgb(64, 162, 93)
HSLhsl(138, 43%, 44%)
HSVhsv(138, 60%, 64%)
CMYKcmyk(60.5%, 0%, 42.6%, 36.5%)
CIE-LABlab(59.63, -44.25, 27.55)
CIE-LCHlch(59.63, 52.12, 148.09°)
OKLaboklab(63.69% -0.1196 0.0681)
OKLCHoklch(63.69% 0.138 150.3)
XYZxyz(17.0092, 27.7193, 14.8078)
Luminance0.2772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A25D #A24085
analogous
#54A240 #40A25D #40A28E
triadic
#40A25D #5D40A2 #A25D40
tetradic
#40A25D #4054A2 #A24085 #A28E40
square
#40A25D #4054A2 #A24085 #A28E40
split-complementary
#40A25D #8E40A2 #A24054
monochromatic
#1D4A2B #2F7644 #40A25D #5FC07C #8BD1A0

Accessibility & contrast

On white

3.21
#40A25D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#40A25D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A25D
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A25D#FFFFFF#000000##000000
##40A25D1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39558
Deuteranopia (green-blind)
#968C62
Tritanopia (blue-blind)
#239F91
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a25d;
/* rgb */ color: rgb(64, 162, 93);
/* oklch */ color: oklch(63.7% 0.138 150.3);
Tailwind
colors: {
  custom: {
    50: '#7ebe8c',
    500: '#40a25d',
    950: '#000000',
  },
}
SCSS
$custom: #40a25d;
$custom-light: #7ebe8c;
$custom-dark: #000000;
JSON
{
  "hex": "#40a25d",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 93
  },
  "hsl": {
    "h": 137.755,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.6369,
    "c": 0.13767,
    "h": 150.3
  },
  "luminance": 0.27721
}

Semantic roles & 50–950 ramp

primary
#40A25D
secondary
#BC82AB
accent
#55AED3
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #40A25D

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

Preview Lab → · Contrast checker → · Palette generator →

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