#40B33C#40B33C

#40B33C is a light, vivid green. Relative luminance 0.337; OKLCH L 67.7% C 0.189 H 142.7°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#40B33C
RGBrgb(64, 179, 60)
HSLhsl(118, 50%, 47%)
HSVhsv(118, 66%, 70%)
CMYKcmyk(64.2%, 0%, 66.5%, 29.8%)
CIE-LABlab(64.69, -55.19, 49.59)
CIE-LCHlch(64.69, 74.19, 138.06°)
OKLaboklab(67.73% -0.1501 0.1145)
OKLCHoklch(67.73% 0.189 142.7)
XYZxyz(19.0490, 33.6545, 9.7662)
Luminance0.3366 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B33C #AF3CB3
analogous
#7CB33C #40B33C #3CB374
triadic
#40B33C #3C40B3 #B33C40
tetradic
#40B33C #3C7CB3 #AF3CB3 #B3743C
square
#40B33C #3C7CB3 #AF3CB3 #B3743C
split-complementary
#40B33C #743CB3 #B33C7C
monochromatic
#1F571D #30852D #40B33C #65CA62 #92DA90

Accessibility & contrast

On white

2.72
#40B33C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#40B33C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B33C
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B33C#FFFFFF#000000##000000
##40B33C1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A32C
Deuteranopia (green-blind)
#A99947
Tritanopia (blue-blind)
#29AE9B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b33c;
/* rgb */ color: rgb(64, 179, 60);
/* oklch */ color: oklch(67.7% 0.189 142.7);
Tailwind
colors: {
  custom: {
    50: '#83cb77',
    500: '#40b33c',
    950: '#000000',
  },
}
SCSS
$custom: #40b33c;
$custom-light: #83cb77;
$custom-dark: #000000;
JSON
{
  "hex": "#40b33c",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 60
  },
  "hsl": {
    "h": 117.983,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67728,
    "c": 0.18875,
    "h": 142.7
  },
  "luminance": 0.33656
}

Semantic roles & 50–950 ramp

primary
#40B33C
secondary
#C386C5
accent
#4ED9D5
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40B33C

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

Preview Lab → · Contrast checker → · Palette generator →

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