#40B262#40B262

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

Color values

HEX#40B262
RGBrgb(64, 178, 98)
HSLhsl(138, 47%, 47%)
HSVhsv(138, 64%, 70%)
CMYKcmyk(64%, 0%, 44.9%, 30.2%)
CIE-LABlab(64.81, -49.76, 31.61)
CIE-LCHlch(64.81, 58.95, 147.57°)
OKLaboklab(67.97% -0.1343 0.0777)
OKLCHoklch(67.97% 0.155 150)
XYZxyz(20.2378, 33.8106, 17.0125)
Luminance0.3381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B262 #B24090
analogous
#57B240 #40B262 #40B29B
triadic
#40B262 #6240B2 #B26240
tetradic
#40B262 #4057B2 #B24090 #B29B40
square
#40B262 #4057B2 #B24090 #B29B40
split-complementary
#40B262 #9B40B2 #B24057
monochromatic
#205830 #308549 #40B262 #67C884 #94D8A8

Accessibility & contrast

On white

2.71
#40B262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#40B262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B262
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B262#FFFFFF#000000##000000
##40B2621.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A35C
Deuteranopia (green-blind)
#A59967
Tritanopia (blue-blind)
#17AF9F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b262;
/* rgb */ color: rgb(64, 178, 98);
/* oklch */ color: oklch(68.0% 0.155 150.0);
Tailwind
colors: {
  custom: {
    50: '#81ca90',
    500: '#40b262',
    950: '#000000',
  },
}
SCSS
$custom: #40b262;
$custom-light: #81ca90;
$custom-dark: #000000;
JSON
{
  "hex": "#40b262",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 98
  },
  "hsl": {
    "h": 137.895,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67975,
    "c": 0.15515,
    "h": 150
  },
  "luminance": 0.33813
}

Semantic roles & 50–950 ramp

primary
#40B262
secondary
#C48AB3
accent
#51AFD7
background
#F8FCF8
surface
#F0F8F0
border
#CBD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40B262

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

Preview Lab → · Contrast checker → · Palette generator →

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