#40B263#40B263

#40B263 is a light, vivid green. Relative luminance 0.338; OKLCH L 68.0% C 0.154 H 150.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#40B263
RGBrgb(64, 178, 99)
HSLhsl(138, 47%, 47%)
HSVhsv(138, 64%, 70%)
CMYKcmyk(64%, 0%, 44.4%, 30.2%)
CIE-LABlab(64.83, -49.59, 31.11)
CIE-LCHlch(64.83, 58.54, 147.90°)
OKLaboklab(67.99% -0.1339 0.0766)
OKLCHoklch(67.99% 0.154 150.2)
XYZxyz(20.2853, 33.8296, 17.2627)
Luminance0.3383 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B263 #B2408F
analogous
#56B240 #40B263 #40B29C
triadic
#40B263 #6340B2 #B26340
tetradic
#40B263 #4056B2 #B2408F #B29C40
square
#40B263 #4056B2 #B2408F #B29C40
split-complementary
#40B263 #9C40B2 #B24056
monochromatic
#205831 #30854A #40B263 #67C885 #94D8A9

Accessibility & contrast

On white

2.70
#40B263 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#40B263 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B263
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B263#FFFFFF#000000##000000
##40B2631.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A35D
Deuteranopia (green-blind)
#A49968
Tritanopia (blue-blind)
#16AF9F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b263;
/* rgb */ color: rgb(64, 178, 99);
/* oklch */ color: oklch(68.0% 0.154 150.2);
Tailwind
colors: {
  custom: {
    50: '#81ca90',
    500: '#40b263',
    950: '#000000',
  },
}
SCSS
$custom: #40b263;
$custom-light: #81ca90;
$custom-dark: #000000;
JSON
{
  "hex": "#40b263",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 99
  },
  "hsl": {
    "h": 138.421,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67992,
    "c": 0.15421,
    "h": 150.2
  },
  "luminance": 0.33832
}

Semantic roles & 50–950 ramp

primary
#40B263
secondary
#C48AB2
accent
#51AED7
background
#F8FCF8
surface
#F0F8F0
border
#CBD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40B263

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

Preview Lab → · Contrast checker → · Palette generator →

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