#40B130#40B130

#40B130 is a light, vivid green. Relative luminance 0.327; OKLCH L 67.1% C 0.194 H 141.3°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#40B130
RGBrgb(64, 177, 48)
HSLhsl(113, 57%, 44%)
HSVhsv(113, 73%, 69%)
CMYKcmyk(63.8%, 0%, 72.9%, 30.6%)
CIE-LABlab(63.95, -55.55, 53.57)
CIE-LCHlch(63.95, 77.17, 136.04°)
OKLaboklab(67.09% -0.1517 0.1214)
OKLCHoklch(67.09% 0.194 141.3)
XYZxyz(18.3690, 32.7459, 8.1483)
Luminance0.3275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B130 #A130B1
analogous
#81B130 #40B130 #30B161
triadic
#40B130 #3040B1 #B13040
tetradic
#40B130 #3081B1 #A130B1 #B16130
square
#40B130 #3081B1 #A130B1 #B16130
split-complementary
#40B130 #6130B1 #B13081
monochromatic
#1D5116 #2F8123 #40B130 #5FCF4F #8BDC7F

Accessibility & contrast

On white

2.78
#40B130 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#40B130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B130
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B130#FFFFFF#000000##000000
##40B1301.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A119
Deuteranopia (green-blind)
#A8973D
Tritanopia (blue-blind)
#2CAB98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40b130;
/* rgb */ color: rgb(64, 177, 48);
/* oklch */ color: oklch(67.1% 0.194 141.3);
Tailwind
colors: {
  custom: {
    50: '#83c970',
    500: '#40b130',
    950: '#000000',
  },
}
SCSS
$custom: #40b130;
$custom-light: #83c970;
$custom-dark: #000000;
JSON
{
  "hex": "#40b130",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 48
  },
  "hsl": {
    "h": 112.558,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67093,
    "c": 0.19428,
    "h": 141.3
  },
  "luminance": 0.32748
}

Semantic roles & 50–950 ramp

primary
#40B130
secondary
#BC78C5
accent
#47E1CE
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B130

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

Preview Lab → · Contrast checker → · Palette generator →

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