#40B043#40B043

#40B043 is a light, vivid green. Relative luminance 0.325; OKLCH L 67.0% C 0.180 H 143.6°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#40B043
RGBrgb(64, 176, 67)
HSLhsl(122, 47%, 47%)
HSVhsv(122, 64%, 69%)
CMYKcmyk(63.6%, 0%, 61.9%, 31%)
CIE-LABlab(63.79, -53.37, 45.54)
CIE-LCHlch(63.79, 70.16, 139.52°)
OKLaboklab(67.01% -0.1448 0.1066)
OKLCHoklch(67.01% 0.18 143.6)
XYZxyz(18.6517, 32.5441, 10.6078)
Luminance0.3255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B043 #B040AD
analogous
#75B040 #40B043 #40B07B
triadic
#40B043 #4340B0 #B04340
tetradic
#40B043 #4075B0 #B040AD #B07B40
square
#40B043 #4075B0 #B040AD #B07B40
split-complementary
#40B043 #7B40B0 #B04075
monochromatic
#1F5621 #308332 #40B043 #66C768 #93D895

Accessibility & contrast

On white

2.80
#40B043 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#40B043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B043
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B043#FFFFFF#000000##000000
##40B0431.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A037
Deuteranopia (green-blind)
#A6974C
Tritanopia (blue-blind)
#28AB99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40b043;
/* rgb */ color: rgb(64, 176, 67);
/* oklch */ color: oklch(67.0% 0.180 143.6);
Tailwind
colors: {
  custom: {
    50: '#82c97b',
    500: '#40b043',
    950: '#000000',
  },
}
SCSS
$custom: #40b043;
$custom-light: #82c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#40b043",
  "rgb": {
    "r": 64,
    "g": 176,
    "b": 67
  },
  "hsl": {
    "h": 121.607,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.67007,
    "c": 0.17981,
    "h": 143.6
  },
  "luminance": 0.32546
}

Semantic roles & 50–950 ramp

primary
#40B043
secondary
#C389C1
accent
#51D3D6
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #40B043

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

Preview Lab → · Contrast checker → · Palette generator →

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