#40C267#40C267

#40C267 is a light, vivid green. Relative luminance 0.407; OKLCH L 72.2% C 0.172 H 149.6°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#40C267
RGBrgb(64, 194, 103)
HSLhsl(138, 52%, 51%)
HSVhsv(138, 67%, 76%)
CMYKcmyk(67%, 0%, 46.9%, 23.9%)
CIE-LABlab(69.93, -55.01, 35.58)
CIE-LCHlch(69.93, 65.51, 147.11°)
OKLaboklab(72.22% -0.1483 0.087)
OKLCHoklch(72.22% 0.172 149.6)
XYZxyz(23.8525, 40.6503, 19.4186)
Luminance0.4065 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C267 #C2409B
analogous
#5AC240 #40C267 #40C2A8
triadic
#40C267 #6740C2 #C26740
tetradic
#40C267 #405AC2 #C2409B #C2A840
square
#40C267 #405AC2 #C2409B #C2A840
split-complementary
#40C267 #A840C2 #C2405A
monochromatic
#216736 #30954E #40C267 #6ED18C #9DE0B1

Accessibility & contrast

On white

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

On black

9.13
#40C267 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C267
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C267#FFFFFF#000000##000000
##40C2671.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B260
Deuteranopia (green-blind)
#B3A66D
Tritanopia (blue-blind)
#00BFAC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c267;
/* rgb */ color: rgb(64, 194, 103);
/* oklch */ color: oklch(72.2% 0.172 149.6);
Tailwind
colors: {
  custom: {
    50: '#84d594',
    500: '#40c267',
    950: '#000000',
  },
}
SCSS
$custom: #40c267;
$custom-light: #84d594;
$custom-dark: #000000;
JSON
{
  "hex": "#40c267",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 103
  },
  "hsl": {
    "h": 138,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72217,
    "c": 0.17189,
    "h": 149.6
  },
  "luminance": 0.40653
}

Semantic roles & 50–950 ramp

primary
#40C267
secondary
#CC92BA
accent
#4DB0DB
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C140D
muted
#7D837E

Preview Lab

Preview with #40C267

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

Preview Lab → · Contrast checker → · Palette generator →

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