#40A333#40A333

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

Color values

HEX#40A333
RGBrgb(64, 163, 51)
HSLhsl(113, 52%, 42%)
HSVhsv(113, 69%, 64%)
CMYKcmyk(60.7%, 0%, 68.7%, 36.1%)
CIE-LABlab(59.45, -50.26, 47.71)
CIE-LCHlch(59.45, 69.30, 136.49°)
OKLaboklab(63.38% -0.1372 0.1095)
OKLCHoklch(63.38% 0.176 141.4)
XYZxyz(15.8083, 27.5219, 7.6105)
Luminance0.2752 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A333 #9633A3
analogous
#78A333 #40A333 #33A35E
triadic
#40A333 #3340A3 #A33340
tetradic
#40A333 #3378A3 #9633A3 #A35E33
square
#40A333 #3378A3 #9633A3 #A35E33
split-complementary
#40A333 #5E33A3 #A33378
monochromatic
#1B4616 #2E7424 #40A333 #5AC74C #85D67B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A333#FFFFFF#000000##000000
##40A3331.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)
#A79423
Deuteranopia (green-blind)
#9B8C3D
Tritanopia (blue-blind)
#319E8C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a333;
/* rgb */ color: rgb(64, 163, 51);
/* oklch */ color: oklch(63.4% 0.176 141.4);
Tailwind
colors: {
  custom: {
    50: '#80bf70',
    500: '#40a333',
    950: '#000000',
  },
}
SCSS
$custom: #40a333;
$custom-light: #80bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#40a333",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 51
  },
  "hsl": {
    "h": 113.036,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63379,
    "c": 0.17555,
    "h": 141.4
  },
  "luminance": 0.27523
}

Semantic roles & 50–950 ramp

primary
#40A333
secondary
#B673BE
accent
#4CDCCB
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A333

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

Preview Lab → · Contrast checker → · Palette generator →

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