#40B35F#40B35F

#40B35F is a light, vivid green. Relative luminance 0.342; OKLCH L 68.2% C 0.159 H 149.1°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#40B35F
RGBrgb(64, 179, 95)
HSLhsl(136, 47%, 48%)
HSVhsv(136, 64%, 70%)
CMYKcmyk(64.2%, 0%, 46.9%, 29.8%)
CIE-LABlab(65.08, -50.64, 33.50)
CIE-LCHlch(65.08, 60.72, 146.51°)
OKLaboklab(68.19% -0.1366 0.0819)
OKLCHoklch(68.19% 0.159 149.1)
XYZxyz(20.2985, 34.1543, 16.3470)
Luminance0.3416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B35F #B34094
analogous
#5AB340 #40B35F #40B398
triadic
#40B35F #5F40B3 #B35F40
tetradic
#40B35F #405AB3 #B34094 #B39840
square
#40B35F #405AB3 #B34094 #B39840
split-complementary
#40B35F #9840B3 #B3405A
monochromatic
#20592F #308647 #40B35F #67C982 #94D9A7

Accessibility & contrast

On white

2.68
#40B35F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#40B35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B35F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B35F#FFFFFF#000000##000000
##40B35F1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A458
Deuteranopia (green-blind)
#A69A65
Tritanopia (blue-blind)
#18B09F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b35f;
/* rgb */ color: rgb(64, 179, 95);
/* oklch */ color: oklch(68.2% 0.159 149.1);
Tailwind
colors: {
  custom: {
    50: '#82cb8e',
    500: '#40b35f',
    950: '#000000',
  },
}
SCSS
$custom: #40b35f;
$custom-light: #82cb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b35f",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 95
  },
  "hsl": {
    "h": 136.174,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68185,
    "c": 0.15931,
    "h": 149.1
  },
  "luminance": 0.34156
}

Semantic roles & 50–950 ramp

primary
#40B35F
secondary
#C48AB5
accent
#51B3D7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40B35F

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

Preview Lab → · Contrast checker → · Palette generator →

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