#40C259#40C259

#40C259 is a light, vivid green. Relative luminance 0.404; OKLCH L 72.0% C 0.184 H 146.7°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#40C259
RGBrgb(64, 194, 89)
HSLhsl(132, 52%, 51%)
HSVhsv(132, 67%, 76%)
CMYKcmyk(67%, 0%, 54.1%, 23.9%)
CIE-LABlab(69.75, -57.09, 42.25)
CIE-LCHlch(69.75, 71.03, 143.50°)
OKLaboklab(72.01% -0.1541 0.1012)
OKLCHoklch(72.01% 0.184 146.7)
XYZxyz(23.2077, 40.3924, 16.0227)
Luminance0.4039 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C259 #C240A9
analogous
#68C240 #40C259 #40C29A
triadic
#40C259 #5940C2 #C25940
tetradic
#40C259 #4068C2 #C240A9 #C29A40
square
#40C259 #4068C2 #C240A9 #C29A40
split-complementary
#40C259 #9A40C2 #C24068
monochromatic
#21672E #309543 #40C259 #6ED181 #9DE0AA

Accessibility & contrast

On white

2.31
#40C259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#40C259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C259
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C259#FFFFFF#000000##000000
##40C2591.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B14F
Deuteranopia (green-blind)
#B5A661
Tritanopia (blue-blind)
#10BEAA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c259;
/* rgb */ color: rgb(64, 194, 89);
/* oklch */ color: oklch(72.0% 0.184 146.7);
Tailwind
colors: {
  custom: {
    50: '#85d58a',
    500: '#40c259',
    950: '#000000',
  },
}
SCSS
$custom: #40c259;
$custom-light: #85d58a;
$custom-dark: #000000;
JSON
{
  "hex": "#40c259",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 89
  },
  "hsl": {
    "h": 131.538,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72007,
    "c": 0.18432,
    "h": 146.7
  },
  "luminance": 0.40395
}

Semantic roles & 50–950 ramp

primary
#40C259
secondary
#CC92C1
accent
#4DC0DB
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40C259

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

Preview Lab → · Contrast checker → · Palette generator →

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