#40A125#40A125

#40A125 is a light, vivid green. Relative luminance 0.267; OKLCH L 62.7% C 0.182 H 139.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#40A125
RGBrgb(64, 161, 37)
HSLhsl(107, 63%, 39%)
HSVhsv(107, 77%, 63%)
CMYKcmyk(60.2%, 0%, 77%, 36.9%)
CIE-LABlab(58.71, -50.66, 52.26)
CIE-LCHlch(58.71, 72.78, 134.11°)
OKLaboklab(62.73% -0.1391 0.1171)
OKLCHoklch(62.73% 0.182 139.9)
XYZxyz(15.1925, 26.7119, 6.1052)
Luminance0.2671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A125 #8625A1
analogous
#7EA125 #40A125 #25A148
triadic
#40A125 #2540A1 #A12540
tetradic
#40A125 #257EA1 #8625A1 #A14825
square
#40A125 #257EA1 #8625A1 #A14825
split-complementary
#40A125 #4825A1 #A1257E
monochromatic
#183D0E #2C6F1A #40A125 #55D033 #7FDC65

Accessibility & contrast

On white

3.31
#40A125 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#40A125 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A125
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A125#FFFFFF#000000##000000
##40A1251.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69207
Deuteranopia (green-blind)
#9A8A33
Tritanopia (blue-blind)
#339C8A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #40a125;
/* rgb */ color: rgb(64, 161, 37);
/* oklch */ color: oklch(62.7% 0.182 139.9);
Tailwind
colors: {
  custom: {
    50: '#81be69',
    500: '#40a125',
    950: '#000000',
  },
}
SCSS
$custom: #40a125;
$custom-light: #81be69;
$custom-dark: #000000;
JSON
{
  "hex": "#40a125",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 37
  },
  "hsl": {
    "h": 106.935,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.6273,
    "c": 0.18184,
    "h": 139.9
  },
  "luminance": 0.26713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40A125

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

Preview Lab → · Contrast checker → · Palette generator →

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