#40A134#40A134

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

Color values

HEX#40A134
RGBrgb(64, 161, 52)
HSLhsl(113, 51%, 42%)
HSVhsv(113, 68%, 63%)
CMYKcmyk(60.2%, 0%, 67.7%, 36.9%)
CIE-LABlab(58.81, -49.43, 46.60)
CIE-LCHlch(58.81, 67.93, 136.68°)
OKLaboklab(62.85% -0.1349 0.1073)
OKLCHoklch(62.85% 0.172 141.5)
XYZxyz(15.4783, 26.8262, 7.6105)
Luminance0.2683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A134 #9534A1
analogous
#77A134 #40A134 #34A15E
triadic
#40A134 #3440A1 #A13440
tetradic
#40A134 #3477A1 #9534A1 #A15E34
square
#40A134 #3477A1 #9534A1 #A15E34
split-complementary
#40A134 #5E34A1 #A13477
monochromatic
#1B4416 #2E7325 #40A134 #5AC54D #85D47B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A134#FFFFFF#000000##000000
##40A1341.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)
#A59225
Deuteranopia (green-blind)
#998A3E
Tritanopia (blue-blind)
#319C8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #40a134;
/* rgb */ color: rgb(64, 161, 52);
/* oklch */ color: oklch(62.9% 0.172 141.5);
Tailwind
colors: {
  custom: {
    50: '#80be71',
    500: '#40a134',
    950: '#000000',
  },
}
SCSS
$custom: #40a134;
$custom-light: #80be71;
$custom-dark: #000000;
JSON
{
  "hex": "#40a134",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 52
  },
  "hsl": {
    "h": 113.394,
    "s": 51.174,
    "l": 41.765
  },
  "oklch": {
    "l": 0.62852,
    "c": 0.17235,
    "h": 141.5
  },
  "luminance": 0.26828
}

Semantic roles & 50–950 ramp

primary
#40A134
secondary
#B574BD
accent
#4DDBCB
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A134

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

Preview Lab → · Contrast checker → · Palette generator →

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