#40AF25#40AF25

#40AF25 is a light, vivid green. Relative luminance 0.319; OKLCH L 66.5% C 0.198 H 140.4°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#40AF25
RGBrgb(64, 175, 37)
HSLhsl(108, 65%, 42%)
HSVhsv(108, 79%, 69%)
CMYKcmyk(63.4%, 0%, 78.9%, 31.4%)
CIE-LABlab(63.25, -55.63, 56.64)
CIE-LCHlch(63.25, 79.39, 134.49°)
OKLaboklab(66.48% -0.1525 0.1262)
OKLCHoklch(66.48% 0.198 140.4)
XYZxyz(17.7774, 31.8818, 6.9669)
Luminance0.3188 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF25 #9425AF
analogous
#85AF25 #40AF25 #25AF4F
triadic
#40AF25 #2540AF #AF2540
tetradic
#40AF25 #2585AF #9425AF #AF4F25
square
#40AF25 #2585AF #9425AF #AF4F25
split-complementary
#40AF25 #4F25AF #AF2585
monochromatic
#1B4A10 #2E7C1A #40AF25 #5AD63C #84E06E

Accessibility & contrast

On white

2.85
#40AF25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#40AF25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF25
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF25#FFFFFF#000000##000000
##40AF251.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#A69635
Tritanopia (blue-blind)
#2FA995
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40af25;
/* rgb */ color: rgb(64, 175, 37);
/* oklch */ color: oklch(66.5% 0.198 140.4);
Tailwind
colors: {
  custom: {
    50: '#83c86b',
    500: '#40af25',
    950: '#000000',
  },
}
SCSS
$custom: #40af25;
$custom-light: #83c86b;
$custom-dark: #000000;
JSON
{
  "hex": "#40af25",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 108.261,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66484,
    "c": 0.19798,
    "h": 140.4
  },
  "luminance": 0.31884
}

Semantic roles & 50–950 ramp

primary
#40AF25
secondary
#B469C7
accent
#40E8C7
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40AF25

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

Preview Lab → · Contrast checker → · Palette generator →

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