#40C265#40C265

#40C265 is a light, vivid green. Relative luminance 0.406; OKLCH L 72.2% C 0.174 H 149.1°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#40C265
RGBrgb(64, 194, 101)
HSLhsl(137, 52%, 51%)
HSVhsv(137, 67%, 76%)
CMYKcmyk(67%, 0%, 47.9%, 23.9%)
CIE-LABlab(69.90, -55.33, 36.55)
CIE-LCHlch(69.90, 66.31, 146.55°)
OKLaboklab(72.19% -0.1491 0.0891)
OKLCHoklch(72.19% 0.174 149.1)
XYZxyz(23.7533, 40.6106, 18.8962)
Luminance0.4061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C265 #C2409D
analogous
#5CC240 #40C265 #40C2A6
triadic
#40C265 #6540C2 #C26540
tetradic
#40C265 #405CC2 #C2409D #C2A640
square
#40C265 #405CC2 #C2409D #C2A640
split-complementary
#40C265 #A640C2 #C2405C
monochromatic
#216735 #30954D #40C265 #6ED18A #9DE0B0

Accessibility & contrast

On white

2.30
#40C265 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#40C265 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C265
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C265#FFFFFF#000000##000000
##40C2651.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B25E
Deuteranopia (green-blind)
#B3A66C
Tritanopia (blue-blind)
#00BEAC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c265;
/* rgb */ color: rgb(64, 194, 101);
/* oklch */ color: oklch(72.2% 0.174 149.1);
Tailwind
colors: {
  custom: {
    50: '#84d592',
    500: '#40c265',
    950: '#000000',
  },
}
SCSS
$custom: #40c265;
$custom-light: #84d592;
$custom-dark: #000000;
JSON
{
  "hex": "#40c265",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 101
  },
  "hsl": {
    "h": 137.077,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72185,
    "c": 0.17371,
    "h": 149.1
  },
  "luminance": 0.40613
}

Semantic roles & 50–950 ramp

primary
#40C265
secondary
#CC92BB
accent
#4DB3DB
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C140D
muted
#7D837E

Preview Lab

Preview with #40C265

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

Preview Lab → · Contrast checker → · Palette generator →

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