#40A330#40A330

#40A330 is a light, vivid green. Relative luminance 0.275; OKLCH L 63.4% C 0.178 H 141.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#40A330
RGBrgb(64, 163, 48)
HSLhsl(112, 55%, 41%)
HSVhsv(112, 71%, 64%)
CMYKcmyk(60.7%, 0%, 70.6%, 36.1%)
CIE-LABlab(59.43, -50.53, 48.90)
CIE-LCHlch(59.43, 70.32, 135.94°)
OKLaboklab(63.35% -0.1381 0.1116)
OKLCHoklch(63.35% 0.178 141.1)
XYZxyz(15.7443, 27.4963, 7.2734)
Luminance0.2750 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A330 #9330A3
analogous
#7AA330 #40A330 #30A35A
triadic
#40A330 #3040A3 #A33040
tetradic
#40A330 #307AA3 #9330A3 #A35A30
square
#40A330 #307AA3 #9330A3 #A35A30
split-complementary
#40A330 #5A30A3 #A3307A
monochromatic
#1B4414 #2D7422 #40A330 #59C947 #84D777

Accessibility & contrast

On white

3.23
#40A330 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#40A330 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A330
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A330#FFFFFF#000000##000000
##40A3301.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941E
Deuteranopia (green-blind)
#9B8C3B
Tritanopia (blue-blind)
#319E8C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a330;
/* rgb */ color: rgb(64, 163, 48);
/* oklch */ color: oklch(63.4% 0.178 141.1);
Tailwind
colors: {
  custom: {
    50: '#80bf6f',
    500: '#40a330',
    950: '#000000',
  },
}
SCSS
$custom: #40a330;
$custom-light: #80bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#40a330",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 48
  },
  "hsl": {
    "h": 111.652,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.63352,
    "c": 0.17759,
    "h": 141.1
  },
  "luminance": 0.27498
}

Semantic roles & 50–950 ramp

primary
#40A330
secondary
#B470BF
accent
#4ADEC9
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A330

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

Preview Lab → · Contrast checker → · Palette generator →

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