#40B336#40B336

#40B336 is a light, vivid green. Relative luminance 0.336; OKLCH L 67.7% C 0.193 H 142.0°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#40B336
RGBrgb(64, 179, 54)
HSLhsl(115, 54%, 46%)
HSVhsv(115, 70%, 70%)
CMYKcmyk(64.2%, 0%, 69.8%, 29.8%)
CIE-LABlab(64.64, -55.75, 51.98)
CIE-LCHlch(64.64, 76.22, 137.00°)
OKLaboklab(67.67% -0.1519 0.1188)
OKLCHoklch(67.67% 0.193 142)
XYZxyz(18.8993, 33.5947, 8.9777)
Luminance0.3360 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B336 #A936B3
analogous
#7EB336 #40B336 #36B36A
triadic
#40B336 #3640B3 #B33640
tetradic
#40B336 #367EB3 #A936B3 #B36A36
square
#40B336 #367EB3 #A936B3 #B36A36
split-complementary
#40B336 #6A36B3 #B3367E
monochromatic
#1E551A #2F8428 #40B336 #62CD59 #8FDB88

Accessibility & contrast

On white

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

On black

7.72
#40B336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B336
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B336#FFFFFF#000000##000000
##40B3361.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A323
Deuteranopia (green-blind)
#A99942
Tritanopia (blue-blind)
#2AAE9A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b336;
/* rgb */ color: rgb(64, 179, 54);
/* oklch */ color: oklch(67.7% 0.193 142.0);
Tailwind
colors: {
  custom: {
    50: '#83cb74',
    500: '#40b336',
    950: '#000000',
  },
}
SCSS
$custom: #40b336;
$custom-light: #83cb74;
$custom-dark: #000000;
JSON
{
  "hex": "#40b336",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 54
  },
  "hsl": {
    "h": 115.2,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.67673,
    "c": 0.19286,
    "h": 142
  },
  "luminance": 0.33597
}

Semantic roles & 50–950 ramp

primary
#40B336
secondary
#C080C5
accent
#4BDDD1
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40B336

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

Preview Lab → · Contrast checker → · Palette generator →

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