#40B028#40B028

#40B028 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#40B028
RGBrgb(64, 176, 40)
HSLhsl(109, 63%, 42%)
HSVhsv(109, 77%, 69%)
CMYKcmyk(63.6%, 0%, 77.3%, 31%)
CIE-LABlab(63.58, -55.78, 56.00)
CIE-LCHlch(63.58, 79.04, 134.89°)
OKLaboklab(66.77% -0.1528 0.1253)
OKLCHoklch(66.77% 0.198 140.6)
XYZxyz(18.0218, 32.2921, 7.2903)
Luminance0.3229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B028 #9828B0
analogous
#84B028 #40B028 #28B054
triadic
#40B028 #2840B0 #B02840
tetradic
#40B028 #2884B0 #9828B0 #B05428
square
#40B028 #2884B0 #9828B0 #B05428
split-complementary
#40B028 #5428B0 #B02884
monochromatic
#1C4C11 #2E7E1D #40B028 #5BD441 #86DF73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B028#FFFFFF#000000##000000
##40B0281.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)
#B5A004
Deuteranopia (green-blind)
#A79737
Tritanopia (blue-blind)
#2EAA96
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40b028;
/* rgb */ color: rgb(64, 176, 40);
/* oklch */ color: oklch(66.8% 0.198 140.6);
Tailwind
colors: {
  custom: {
    50: '#83c96c',
    500: '#40b028',
    950: '#000000',
  },
}
SCSS
$custom: #40b028;
$custom-light: #83c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#40b028",
  "rgb": {
    "r": 64,
    "g": 176,
    "b": 40
  },
  "hsl": {
    "h": 109.412,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6677,
    "c": 0.1976,
    "h": 140.6
  },
  "luminance": 0.32294
}

Semantic roles & 50–950 ramp

primary
#40B028
secondary
#B76DC6
accent
#42E6C9
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40B028

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

Preview Lab → · Contrast checker → · Palette generator →

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