#40A135#40A135

#40A135 is a light, vivid green. Relative luminance 0.268; OKLCH L 62.9% C 0.172 H 141.7°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#40A135
RGBrgb(64, 161, 53)
HSLhsl(114, 50%, 42%)
HSVhsv(114, 67%, 63%)
CMYKcmyk(60.2%, 0%, 67.1%, 36.9%)
CIE-LABlab(58.82, -49.33, 46.19)
CIE-LCHlch(58.82, 67.58, 136.88°)
OKLaboklab(62.86% -0.1346 0.1065)
OKLCHoklch(62.86% 0.172 141.7)
XYZxyz(15.5010, 26.8353, 7.7303)
Luminance0.2684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A135 #9635A1
analogous
#76A135 #40A135 #35A160
triadic
#40A135 #3540A1 #A13540
tetradic
#40A135 #3576A1 #9635A1 #A16035
square
#40A135 #3576A1 #9635A1 #A16035
split-complementary
#40A135 #6035A1 #A13576
monochromatic
#1B4517 #2E7326 #40A135 #5AC54E #85D47C

Accessibility & contrast

On white

3.30
#40A135 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#40A135 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A135
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A135#FFFFFF#000000##000000
##40A1351.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59327
Deuteranopia (green-blind)
#998A3F
Tritanopia (blue-blind)
#319C8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #40a135;
/* rgb */ color: rgb(64, 161, 53);
/* oklch */ color: oklch(62.9% 0.172 141.7);
Tailwind
colors: {
  custom: {
    50: '#80be71',
    500: '#40a135',
    950: '#000000',
  },
}
SCSS
$custom: #40a135;
$custom-light: #80be71;
$custom-dark: #000000;
JSON
{
  "hex": "#40a135",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 53
  },
  "hsl": {
    "h": 113.889,
    "s": 50.467,
    "l": 41.961
  },
  "oklch": {
    "l": 0.62862,
    "c": 0.17163,
    "h": 141.7
  },
  "luminance": 0.26837
}

Semantic roles & 50–950 ramp

primary
#40A135
secondary
#B675BD
accent
#4EDACC
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A135

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

Preview Lab → · Contrast checker → · Palette generator →

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