#40B738#40B738

#40B738 is a light, vivid green. Relative luminance 0.352; OKLCH L 68.8% C 0.196 H 142.2°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#40B738
RGBrgb(64, 183, 56)
HSLhsl(116, 53%, 47%)
HSVhsv(116, 69%, 72%)
CMYKcmyk(65%, 0%, 69.4%, 28.2%)
CIE-LABlab(65.94, -56.97, 52.56)
CIE-LCHlch(65.94, 77.51, 137.30°)
OKLaboklab(68.75% -0.1551 0.1203)
OKLCHoklch(68.75% 0.196 142.2)
XYZxyz(19.7606, 35.2405, 9.5013)
Luminance0.3524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B738 #AF38B7
analogous
#80B738 #40B738 #38B76F
triadic
#40B738 #3840B7 #B73840
tetradic
#40B738 #3880B7 #AF38B7 #B76F38
square
#40B738 #3880B7 #AF38B7 #B76F38
split-complementary
#40B738 #6F38B7 #B73880
monochromatic
#1F591B #30882A #40B738 #65CE5E #92DC8D

Accessibility & contrast

On white

2.61
#40B738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#40B738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B738
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B738#FFFFFF#000000##000000
##40B7381.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA625
Deuteranopia (green-blind)
#AD9C44
Tritanopia (blue-blind)
#28B29E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b738;
/* rgb */ color: rgb(64, 183, 56);
/* oklch */ color: oklch(68.8% 0.196 142.2);
Tailwind
colors: {
  custom: {
    50: '#84ce75',
    500: '#40b738',
    950: '#000000',
  },
}
SCSS
$custom: #40b738;
$custom-light: #84ce75;
$custom-dark: #000000;
JSON
{
  "hex": "#40b738",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 116.22,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.6875,
    "c": 0.19626,
    "h": 142.2
  },
  "luminance": 0.35242
}

Semantic roles & 50–950 ramp

primary
#40B738
secondary
#C384C7
accent
#4BDDD3
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #40B738

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

Preview Lab → · Contrast checker → · Palette generator →

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