#40B025#40B025

#40B025 is a light, vivid green. Relative luminance 0.323; OKLCH L 66.8% C 0.199 H 140.4°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#40B025
RGBrgb(64, 176, 37)
HSLhsl(108, 65%, 42%)
HSVhsv(108, 79%, 69%)
CMYKcmyk(63.6%, 0%, 79%, 31%)
CIE-LABlab(63.57, -55.98, 56.94)
CIE-LCHlch(63.57, 79.85, 134.51°)
OKLaboklab(66.75% -0.1534 0.1269)
OKLCHoklch(66.75% 0.199 140.4)
XYZxyz(17.9728, 32.2725, 7.0320)
Luminance0.3227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B025 #9525B0
analogous
#86B025 #40B025 #25B04F
triadic
#40B025 #2540B0 #B02540
tetradic
#40B025 #2586B0 #9525B0 #B04F25
square
#40B025 #2586B0 #9525B0 #B04F25
split-complementary
#40B025 #4F25B0 #B02586
monochromatic
#1B4B10 #2E7D1A #40B025 #5AD63C #85E16F

Accessibility & contrast

On white

2.82
#40B025 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#40B025 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B025
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B025#FFFFFF#000000##000000
##40B0251.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#A79635
Tritanopia (blue-blind)
#2EAA96
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40b025;
/* rgb */ color: rgb(64, 176, 37);
/* oklch */ color: oklch(66.8% 0.199 140.4);
Tailwind
colors: {
  custom: {
    50: '#83c96b',
    500: '#40b025',
    950: '#000000',
  },
}
SCSS
$custom: #40b025;
$custom-light: #83c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#40b025",
  "rgb": {
    "r": 64,
    "g": 176,
    "b": 37
  },
  "hsl": {
    "h": 108.345,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66751,
    "c": 0.1991,
    "h": 140.4
  },
  "luminance": 0.32274
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40B025

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

Preview Lab → · Contrast checker → · Palette generator →

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