#40B236#40B236

#40B236 is a light, vivid green. Relative luminance 0.332; OKLCH L 67.4% C 0.192 H 142.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#40B236
RGBrgb(64, 178, 54)
HSLhsl(115, 53%, 45%)
HSVhsv(115, 70%, 70%)
CMYKcmyk(64%, 0%, 69.7%, 30.2%)
CIE-LABlab(64.32, -55.40, 51.65)
CIE-LCHlch(64.32, 75.74, 137.01°)
OKLaboklab(67.41% -0.151 0.1181)
OKLCHoklch(67.41% 0.192 142)
XYZxyz(18.6996, 33.1953, 8.9112)
Luminance0.3320 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B236 #A836B2
analogous
#7EB236 #40B236 #36B26A
triadic
#40B236 #3640B2 #B23640
tetradic
#40B236 #367EB2 #A836B2 #B26A36
square
#40B236 #367EB2 #A836B2 #B26A36
split-complementary
#40B236 #6A36B2 #B2367E
monochromatic
#1E541A #2F8328 #40B236 #62CD59 #8EDB88

Accessibility & contrast

On white

2.75
#40B236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#40B236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B236
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B236#FFFFFF#000000##000000
##40B2361.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A223
Deuteranopia (green-blind)
#A89842
Tritanopia (blue-blind)
#2AAD99
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b236;
/* rgb */ color: rgb(64, 178, 54);
/* oklch */ color: oklch(67.4% 0.192 142.0);
Tailwind
colors: {
  custom: {
    50: '#83ca74',
    500: '#40b236',
    950: '#000000',
  },
}
SCSS
$custom: #40b236;
$custom-light: #83ca74;
$custom-dark: #000000;
JSON
{
  "hex": "#40b236",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 54
  },
  "hsl": {
    "h": 115.161,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.67408,
    "c": 0.19168,
    "h": 142
  },
  "luminance": 0.33197
}

Semantic roles & 50–950 ramp

primary
#40B236
secondary
#BF7FC5
accent
#4BDDD1
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40B236

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

Preview Lab → · Contrast checker → · Palette generator →

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