#40B243#40B243

#40B243 is a light, vivid green. Relative luminance 0.333; OKLCH L 67.5% C 0.182 H 143.6°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#40B243
RGBrgb(64, 178, 67)
HSLhsl(122, 47%, 47%)
HSVhsv(122, 64%, 70%)
CMYKcmyk(64%, 0%, 62.4%, 30.2%)
CIE-LABlab(64.43, -54.09, 46.27)
CIE-LCHlch(64.43, 71.18, 139.46°)
OKLaboklab(67.54% -0.1468 0.1082)
OKLCHoklch(67.54% 0.182 143.6)
XYZxyz(19.0467, 33.3341, 10.7395)
Luminance0.3334 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B243 #B240AF
analogous
#76B240 #40B243 #40B27C
triadic
#40B243 #4340B2 #B24340
tetradic
#40B243 #4076B2 #B240AF #B27C40
square
#40B243 #4076B2 #B240AF #B27C40
split-complementary
#40B243 #7C40B2 #B24076
monochromatic
#205821 #308532 #40B243 #67C869 #94D896

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B243#FFFFFF#000000##000000
##40B2431.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)
#B5A236
Deuteranopia (green-blind)
#A8994C
Tritanopia (blue-blind)
#27AD9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b243;
/* rgb */ color: rgb(64, 178, 67);
/* oklch */ color: oklch(67.5% 0.182 143.6);
Tailwind
colors: {
  custom: {
    50: '#82ca7b',
    500: '#40b243',
    950: '#000000',
  },
}
SCSS
$custom: #40b243;
$custom-light: #82ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#40b243",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 67
  },
  "hsl": {
    "h": 121.579,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67536,
    "c": 0.1823,
    "h": 143.6
  },
  "luminance": 0.33336
}

Semantic roles & 50–950 ramp

primary
#40B243
secondary
#C48AC2
accent
#51D3D7
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #40B243

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

Preview Lab → · Contrast checker → · Palette generator →

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