#40B239#40B239

#40B239 is a light, vivid green. Relative luminance 0.332; OKLCH L 67.4% C 0.190 H 142.3°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#40B239
RGBrgb(64, 178, 57)
HSLhsl(117, 51%, 46%)
HSVhsv(117, 68%, 70%)
CMYKcmyk(64%, 0%, 68%, 30.2%)
CIE-LABlab(64.34, -55.12, 50.46)
CIE-LCHlch(64.34, 74.73, 137.53°)
OKLaboklab(67.44% -0.1501 0.116)
OKLCHoklch(67.44% 0.19 142.3)
XYZxyz(18.7722, 33.2243, 9.2938)
Luminance0.3323 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B239 #AB39B2
analogous
#7CB239 #40B239 #39B26E
triadic
#40B239 #3940B2 #B23940
tetradic
#40B239 #397CB2 #AB39B2 #B26E39
square
#40B239 #397CB2 #AB39B2 #B26E39
split-complementary
#40B239 #6E39B2 #B2397C
monochromatic
#1F551B #2F842A #40B239 #63CB5D #90DA8B

Accessibility & contrast

On white

2.75
#40B239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#40B239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B239
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B239#FFFFFF#000000##000000
##40B2391.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A228
Deuteranopia (green-blind)
#A89844
Tritanopia (blue-blind)
#2AAD99
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b239;
/* rgb */ color: rgb(64, 178, 57);
/* oklch */ color: oklch(67.4% 0.190 142.3);
Tailwind
colors: {
  custom: {
    50: '#83ca75',
    500: '#40b239',
    950: '#000000',
  },
}
SCSS
$custom: #40b239;
$custom-light: #83ca75;
$custom-dark: #000000;
JSON
{
  "hex": "#40b239",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 57
  },
  "hsl": {
    "h": 116.529,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.67435,
    "c": 0.18966,
    "h": 142.3
  },
  "luminance": 0.33226
}

Semantic roles & 50–950 ramp

primary
#40B239
secondary
#C182C4
accent
#4DDBD3
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40B239

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

Preview Lab → · Contrast checker → · Palette generator →

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