#40A234#40A234

#40A234 is a light, vivid green. Relative luminance 0.272; OKLCH L 63.1% C 0.174 H 141.5°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#40A234
RGBrgb(64, 162, 52)
HSLhsl(113, 51%, 42%)
HSVhsv(113, 68%, 64%)
CMYKcmyk(60.5%, 0%, 67.9%, 36.5%)
CIE-LABlab(59.14, -49.80, 46.95)
CIE-LCHlch(59.14, 68.44, 136.69°)
OKLaboklab(63.12% -0.1359 0.108)
OKLCHoklch(63.12% 0.174 141.5)
XYZxyz(15.6537, 27.1771, 7.6689)
Luminance0.2718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A234 #9634A2
analogous
#77A234 #40A234 #34A25F
triadic
#40A234 #3440A2 #A23440
tetradic
#40A234 #3477A2 #9634A2 #A25F34
square
#40A234 #3477A2 #9634A2 #A25F34
split-complementary
#40A234 #5F34A2 #A23477
monochromatic
#1B4516 #2E7425 #40A234 #5AC64D #85D57C

Accessibility & contrast

On white

3.26
#40A234 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#40A234 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A234
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A234#FFFFFF#000000##000000
##40A2341.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69325
Deuteranopia (green-blind)
#9A8B3E
Tritanopia (blue-blind)
#319D8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a234;
/* rgb */ color: rgb(64, 162, 52);
/* oklch */ color: oklch(63.1% 0.174 141.5);
Tailwind
colors: {
  custom: {
    50: '#80be71',
    500: '#40a234',
    950: '#000000',
  },
}
SCSS
$custom: #40a234;
$custom-light: #80be71;
$custom-dark: #000000;
JSON
{
  "hex": "#40a234",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 52
  },
  "hsl": {
    "h": 113.455,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6312,
    "c": 0.17361,
    "h": 141.5
  },
  "luminance": 0.27179
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40A234

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

Preview Lab → · Contrast checker → · Palette generator →

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