#40B438#40B438

#40B438 is a light, vivid green. Relative luminance 0.340; OKLCH L 68.0% C 0.193 H 142.2°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#40B438
RGBrgb(64, 180, 56)
HSLhsl(116, 53%, 46%)
HSVhsv(116, 69%, 71%)
CMYKcmyk(64.4%, 0%, 68.9%, 29.4%)
CIE-LABlab(64.98, -55.92, 51.54)
CIE-LCHlch(64.98, 76.05, 137.33°)
OKLaboklab(67.96% -0.1523 0.1181)
OKLCHoklch(67.96% 0.193 142.2)
XYZxyz(19.1484, 34.0161, 9.2973)
Luminance0.3402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B438 #AC38B4
analogous
#7EB438 #40B438 #38B46E
triadic
#40B438 #3840B4 #B43840
tetradic
#40B438 #387EB4 #AC38B4 #B46E38
square
#40B438 #387EB4 #AC38B4 #B46E38
split-complementary
#40B438 #6E38B4 #B4387E
monochromatic
#1F571B #2F8529 #40B438 #64CD5D #91DB8B

Accessibility & contrast

On white

2.69
#40B438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#40B438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B438
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B438#FFFFFF#000000##000000
##40B4381.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A326
Deuteranopia (green-blind)
#AA9A44
Tritanopia (blue-blind)
#29AF9B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b438;
/* rgb */ color: rgb(64, 180, 56);
/* oklch */ color: oklch(68.0% 0.193 142.2);
Tailwind
colors: {
  custom: {
    50: '#83cb75',
    500: '#40b438',
    950: '#000000',
  },
}
SCSS
$custom: #40b438;
$custom-light: #83cb75;
$custom-dark: #000000;
JSON
{
  "hex": "#40b438",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 116.129,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.67956,
    "c": 0.19272,
    "h": 142.2
  },
  "luminance": 0.34018
}

Semantic roles & 50–950 ramp

primary
#40B438
secondary
#C182C5
accent
#4CDCD3
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40B438

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

Preview Lab → · Contrast checker → · Palette generator →

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