#40B031#40B031

#40B031 is a light, vivid green. Relative luminance 0.324; OKLCH L 66.8% C 0.193 H 141.4°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#40B031
RGBrgb(64, 176, 49)
HSLhsl(113, 56%, 44%)
HSVhsv(113, 72%, 69%)
CMYKcmyk(63.6%, 0%, 72.2%, 31%)
CIE-LABlab(63.64, -55.12, 52.88)
CIE-LCHlch(63.64, 76.38, 136.19°)
OKLaboklab(66.83% -0.1505 0.12)
OKLCHoklch(66.83% 0.193 141.4)
XYZxyz(18.1931, 32.3606, 8.1926)
Luminance0.3236 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B031 #A131B0
analogous
#80B031 #40B031 #31B062
triadic
#40B031 #3140B0 #B03140
tetradic
#40B031 #3180B0 #A131B0 #B06231
square
#40B031 #3180B0 #A131B0 #B06231
split-complementary
#40B031 #6231B0 #B03180
monochromatic
#1D5016 #2F8024 #40B031 #5FCE50 #8BDC80

Accessibility & contrast

On white

2.81
#40B031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#40B031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B031
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B031#FFFFFF#000000##000000
##40B0311.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A01B
Deuteranopia (green-blind)
#A7973E
Tritanopia (blue-blind)
#2CAB97
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40b031;
/* rgb */ color: rgb(64, 176, 49);
/* oklch */ color: oklch(66.8% 0.193 141.4);
Tailwind
colors: {
  custom: {
    50: '#83c971',
    500: '#40b031',
    950: '#000000',
  },
}
SCSS
$custom: #40b031;
$custom-light: #83c971;
$custom-dark: #000000;
JSON
{
  "hex": "#40b031",
  "rgb": {
    "r": 64,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 112.913,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66834,
    "c": 0.1925,
    "h": 141.4
  },
  "luminance": 0.32362
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40B031

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

Preview Lab → · Contrast checker → · Palette generator →

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