#40B135#40B135

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

Color values

HEX#40B135
RGBrgb(64, 177, 53)
HSLhsl(115, 54%, 45%)
HSVhsv(115, 70%, 69%)
CMYKcmyk(63.8%, 0%, 70.1%, 30.6%)
CIE-LABlab(63.99, -55.13, 51.70)
CIE-LCHlch(63.99, 75.58, 136.84°)
OKLaboklab(67.13% -0.1503 0.1181)
OKLCHoklch(67.13% 0.191 141.8)
XYZxyz(18.4781, 32.7895, 8.7227)
Luminance0.3279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B135 #A635B1
analogous
#7EB135 #40B135 #35B168
triadic
#40B135 #3540B1 #B13540
tetradic
#40B135 #357EB1 #A635B1 #B16835
square
#40B135 #357EB1 #A635B1 #B16835
split-complementary
#40B135 #6835B1 #B1357E
monochromatic
#1E5319 #2F8227 #40B135 #61CD57 #8DDB86

Accessibility & contrast

On white

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

On black

7.56
#40B135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B135
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B135#FFFFFF#000000##000000
##40B1351.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A122
Deuteranopia (green-blind)
#A89741
Tritanopia (blue-blind)
#2BAC98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40b135;
/* rgb */ color: rgb(64, 177, 53);
/* oklch */ color: oklch(67.1% 0.191 141.8);
Tailwind
colors: {
  custom: {
    50: '#83c973',
    500: '#40b135',
    950: '#000000',
  },
}
SCSS
$custom: #40b135;
$custom-light: #83c973;
$custom-dark: #000000;
JSON
{
  "hex": "#40b135",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 53
  },
  "hsl": {
    "h": 114.677,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.67133,
    "c": 0.19114,
    "h": 141.8
  },
  "luminance": 0.32791
}

Semantic roles & 50–950 ramp

primary
#40B135
secondary
#BE7DC4
accent
#4BDDD0
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B135

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

Preview Lab → · Contrast checker → · Palette generator →

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