#40A117#40A117

#40A117 is a light, vivid green. Relative luminance 0.266; OKLCH L 62.7% C 0.188 H 139.0°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#40A117
RGBrgb(64, 161, 23)
HSLhsl(102, 75%, 36%)
HSVhsv(102, 86%, 63%)
CMYKcmyk(60.2%, 0%, 85.7%, 36.9%)
CIE-LABlab(58.64, -51.44, 56.31)
CIE-LCHlch(58.64, 76.27, 132.41°)
OKLaboklab(62.65% -0.1419 0.1236)
OKLCHoklch(62.65% 0.188 139)
XYZxyz(15.0133, 26.6402, 5.1614)
Luminance0.2664 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A117 #7817A1
analogous
#85A117 #40A117 #17A133
triadic
#40A117 #1740A1 #A11740
tetradic
#40A117 #1785A1 #7817A1 #A13317
square
#40A117 #1785A1 #7817A1 #A13317
split-complementary
#40A117 #3317A1 #A11785
monochromatic
#153608 #2B6B0F #40A117 #55D71F #7AE64D

Accessibility & contrast

On white

3.32
#40A117 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#40A117 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A117
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A117#FFFFFF#000000##000000
##40A1171.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9A8A2A
Tritanopia (blue-blind)
#359B89
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #40a117;
/* rgb */ color: rgb(64, 161, 23);
/* oklch */ color: oklch(62.7% 0.188 139.0);
Tailwind
colors: {
  custom: {
    50: '#81be63',
    500: '#40a117',
    950: '#000000',
  },
}
SCSS
$custom: #40a117;
$custom-light: #81be63;
$custom-dark: #000000;
JSON
{
  "hex": "#40a117",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 23
  },
  "hsl": {
    "h": 102.174,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62653,
    "c": 0.1882,
    "h": 139
  },
  "luminance": 0.26642
}

Semantic roles & 50–950 ramp

primary
#40A117
secondary
#A34CC7
accent
#36F2BA
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #40A117

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

Preview Lab → · Contrast checker → · Palette generator →

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