#40B027#40B027

#40B027 is a light, vivid green. Relative luminance 0.323; OKLCH L 66.8% C 0.198 H 140.6°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#40B027
RGBrgb(64, 176, 39)
HSLhsl(109, 64%, 42%)
HSVhsv(109, 78%, 69%)
CMYKcmyk(63.6%, 0%, 77.8%, 31%)
CIE-LABlab(63.58, -55.85, 56.32)
CIE-LCHlch(63.58, 79.32, 134.76°)
OKLaboklab(66.76% -0.153 0.1259)
OKLCHoklch(66.76% 0.198 140.6)
XYZxyz(18.0050, 32.2854, 7.2019)
Luminance0.3229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B027 #9727B0
analogous
#85B027 #40B027 #27B053
triadic
#40B027 #2740B0 #B02740
tetradic
#40B027 #2785B0 #9727B0 #B05327
square
#40B027 #2785B0 #9727B0 #B05327
split-complementary
#40B027 #5327B0 #B02785
monochromatic
#1C4C11 #2E7E1C #40B027 #5BD540 #86E072

Accessibility & contrast

On white

2.82
#40B027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#40B027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B027
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B027#FFFFFF#000000##000000
##40B0271.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A001
Deuteranopia (green-blind)
#A79737
Tritanopia (blue-blind)
#2EAA96
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40b027;
/* rgb */ color: rgb(64, 176, 39);
/* oklch */ color: oklch(66.8% 0.198 140.6);
Tailwind
colors: {
  custom: {
    50: '#83c96c',
    500: '#40b027',
    950: '#000000',
  },
}
SCSS
$custom: #40b027;
$custom-light: #83c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#40b027",
  "rgb": {
    "r": 64,
    "g": 176,
    "b": 39
  },
  "hsl": {
    "h": 109.051,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66763,
    "c": 0.19812,
    "h": 140.6
  },
  "luminance": 0.32287
}

Semantic roles & 50–950 ramp

primary
#40B027
secondary
#B66CC7
accent
#41E7C9
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40B027

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

Preview Lab → · Contrast checker → · Palette generator →

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