#40C246#40C246

#40C246 is a light, vivid green. Relative luminance 0.401; OKLCH L 71.8% C 0.200 H 143.8°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#40C246
RGBrgb(64, 194, 70)
HSLhsl(123, 52%, 51%)
HSVhsv(123, 67%, 76%)
CMYKcmyk(67%, 0%, 63.9%, 23.9%)
CIE-LABlab(69.55, -59.40, 50.69)
CIE-LCHlch(69.55, 78.09, 139.52°)
OKLaboklab(71.78% -0.161 0.1179)
OKLCHoklch(71.78% 0.2 143.8)
XYZxyz(22.5102, 40.1134, 12.3495)
Luminance0.4012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C246 #C240BC
analogous
#7BC240 #40C246 #40C287
triadic
#40C246 #4640C2 #C24640
tetradic
#40C246 #407BC2 #C240BC #C28740
square
#40C246 #407BC2 #C240BC #C28740
split-complementary
#40C246 #8740C2 #C2407B
monochromatic
#216724 #309534 #40C246 #6ED173 #9DE0A0

Accessibility & contrast

On white

2.33
#40C246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#40C246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C246
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C246#FFFFFF#000000##000000
##40C2461.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B037
Deuteranopia (green-blind)
#B6A651
Tritanopia (blue-blind)
#1DBDA8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c246;
/* rgb */ color: rgb(64, 194, 70);
/* oklch */ color: oklch(71.8% 0.200 143.8);
Tailwind
colors: {
  custom: {
    50: '#85d67e',
    500: '#40c246',
    950: '#000000',
  },
}
SCSS
$custom: #40c246;
$custom-light: #85d67e;
$custom-dark: #000000;
JSON
{
  "hex": "#40c246",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 70
  },
  "hsl": {
    "h": 122.769,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7178,
    "c": 0.19954,
    "h": 143.8
  },
  "luminance": 0.40116
}

Semantic roles & 50–950 ramp

primary
#40C246
secondary
#CC92C9
accent
#4DD4DB
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #40C246

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

Preview Lab → · Contrast checker → · Palette generator →

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