#40B330#40B330

#40B330 is a light, vivid green. Relative luminance 0.335; OKLCH L 67.6% C 0.197 H 141.4°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#40B330
RGBrgb(64, 179, 48)
HSLhsl(113, 58%, 45%)
HSVhsv(113, 73%, 70%)
CMYKcmyk(64.2%, 0%, 73.2%, 29.8%)
CIE-LABlab(64.60, -56.25, 54.22)
CIE-LCHlch(64.60, 78.13, 136.05°)
OKLaboklab(67.62% -0.1536 0.1227)
OKLCHoklch(67.62% 0.197 141.4)
XYZxyz(18.7670, 33.5417, 8.2809)
Luminance0.3354 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B330 #A330B3
analogous
#81B330 #40B330 #30B362
triadic
#40B330 #3040B3 #B33040
tetradic
#40B330 #3081B3 #A330B3 #B36230
square
#40B330 #3081B3 #A330B3 #B36230
split-complementary
#40B330 #6230B3 #B33081
monochromatic
#1D5216 #2F8323 #40B330 #60D050 #8CDD80

Accessibility & contrast

On white

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

On black

7.71
#40B330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B330
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B330#FFFFFF#000000##000000
##40B3301.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A218
Deuteranopia (green-blind)
#AA993D
Tritanopia (blue-blind)
#2BAD9A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b330;
/* rgb */ color: rgb(64, 179, 48);
/* oklch */ color: oklch(67.6% 0.197 141.4);
Tailwind
colors: {
  custom: {
    50: '#83cb71',
    500: '#40b330',
    950: '#000000',
  },
}
SCSS
$custom: #40b330;
$custom-light: #83cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#40b330",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 48
  },
  "hsl": {
    "h": 112.672,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67624,
    "c": 0.1966,
    "h": 141.4
  },
  "luminance": 0.33544
}

Semantic roles & 50–950 ramp

primary
#40B330
secondary
#BD79C6
accent
#47E1CE
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B330

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

Preview Lab → · Contrast checker → · Palette generator →

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