#40B131#40B131

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

Color values

HEX#40B131
RGBrgb(64, 177, 49)
HSLhsl(113, 57%, 44%)
HSVhsv(113, 72%, 69%)
CMYKcmyk(63.8%, 0%, 72.3%, 30.6%)
CIE-LABlab(63.96, -55.47, 53.21)
CIE-LCHlch(63.96, 76.86, 136.19°)
OKLaboklab(67.1% -0.1514 0.1207)
OKLCHoklch(67.1% 0.194 141.4)
XYZxyz(18.3899, 32.7542, 8.2582)
Luminance0.3276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B131 #A231B1
analogous
#80B131 #40B131 #31B162
triadic
#40B131 #3140B1 #B13140
tetradic
#40B131 #3180B1 #A231B1 #B16231
square
#40B131 #3180B1 #A231B1 #B16231
split-complementary
#40B131 #6231B1 #B13180
monochromatic
#1D5116 #2F8124 #40B131 #5FCF51 #8BDC80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B131#FFFFFF#000000##000000
##40B1311.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)
#B5A11B
Deuteranopia (green-blind)
#A8973E
Tritanopia (blue-blind)
#2CAB98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40b131;
/* rgb */ color: rgb(64, 177, 49);
/* oklch */ color: oklch(67.1% 0.194 141.4);
Tailwind
colors: {
  custom: {
    50: '#83c971',
    500: '#40b131',
    950: '#000000',
  },
}
SCSS
$custom: #40b131;
$custom-light: #83c971;
$custom-dark: #000000;
JSON
{
  "hex": "#40b131",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 112.969,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.671,
    "c": 0.19367,
    "h": 141.4
  },
  "luminance": 0.32756
}

Semantic roles & 50–950 ramp

primary
#40B131
secondary
#BC79C5
accent
#48E0CE
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B131

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

Preview Lab → · Contrast checker → · Palette generator →

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