#40B125#40B125

#40B125 is a light, highly saturated green. Relative luminance 0.327; OKLCH L 67.0% C 0.200 H 140.4°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#40B125
RGBrgb(64, 177, 37)
HSLhsl(108, 65%, 42%)
HSVhsv(108, 79%, 69%)
CMYKcmyk(63.8%, 0%, 79.1%, 30.6%)
CIE-LABlab(63.89, -56.32, 57.25)
CIE-LCHlch(63.89, 80.31, 134.53°)
OKLaboklab(67.02% -0.1544 0.1275)
OKLCHoklch(67.02% 0.2 140.4)
XYZxyz(18.1695, 32.6661, 7.0976)
Luminance0.3267 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B125 #9625B1
analogous
#86B125 #40B125 #25B150
triadic
#40B125 #2540B1 #B12540
tetradic
#40B125 #2586B1 #9625B1 #B15025
square
#40B125 #2586B1 #9625B1 #B15025
split-complementary
#40B125 #5025B1 #B12586
monochromatic
#1B4C10 #2E7E1A #40B125 #5AD63D #85E16F

Accessibility & contrast

On white

2.79
#40B125 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#40B125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B125
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B125#FFFFFF#000000##000000
##40B1251.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#A89735
Tritanopia (blue-blind)
#2EAB97
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40b125;
/* rgb */ color: rgb(64, 177, 37);
/* oklch */ color: oklch(67.0% 0.200 140.4);
Tailwind
colors: {
  custom: {
    50: '#84c96b',
    500: '#40b125',
    950: '#000000',
  },
}
SCSS
$custom: #40b125;
$custom-light: #84c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#40b125",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 37
  },
  "hsl": {
    "h": 108.429,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.67018,
    "c": 0.20023,
    "h": 140.4
  },
  "luminance": 0.32668
}

Semantic roles & 50–950 ramp

primary
#40B125
secondary
#B66AC8
accent
#3FE8C8
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40B125

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

Preview Lab → · Contrast checker → · Palette generator →

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