#40B246#40B246

#40B246 is a light, vivid green. Relative luminance 0.334; OKLCH L 67.6% C 0.180 H 144.1°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#40B246
RGBrgb(64, 178, 70)
HSLhsl(123, 47%, 47%)
HSVhsv(123, 64%, 70%)
CMYKcmyk(64%, 0%, 60.7%, 30.2%)
CIE-LABlab(64.46, -53.75, 44.94)
CIE-LCHlch(64.46, 70.06, 140.10°)
OKLaboklab(67.57% -0.1457 0.1056)
OKLCHoklch(67.57% 0.18 144.1)
XYZxyz(19.1391, 33.3711, 11.2258)
Luminance0.3337 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B246 #B240AC
analogous
#73B240 #40B246 #40B27F
triadic
#40B246 #4640B2 #B24640
tetradic
#40B246 #4073B2 #B240AC #B27F40
square
#40B246 #4073B2 #B240AC #B27F40
split-complementary
#40B246 #7F40B2 #B24073
monochromatic
#205823 #308534 #40B246 #67C86C #94D898

Accessibility & contrast

On white

2.74
#40B246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#40B246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B246
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B246#FFFFFF#000000##000000
##40B2461.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A23A
Deuteranopia (green-blind)
#A7994F
Tritanopia (blue-blind)
#26AD9B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b246;
/* rgb */ color: rgb(64, 178, 70);
/* oklch */ color: oklch(67.6% 0.180 144.1);
Tailwind
colors: {
  custom: {
    50: '#82ca7d',
    500: '#40b246',
    950: '#000000',
  },
}
SCSS
$custom: #40b246;
$custom-light: #82ca7d;
$custom-dark: #000000;
JSON
{
  "hex": "#40b246",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 70
  },
  "hsl": {
    "h": 123.158,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.6757,
    "c": 0.17993,
    "h": 144.1
  },
  "luminance": 0.33373
}

Semantic roles & 50–950 ramp

primary
#40B246
secondary
#C48AC1
accent
#51D0D7
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #40B246

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

Preview Lab → · Contrast checker → · Palette generator →

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