#40C248#40C248

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

Color values

HEX#40C248
RGBrgb(64, 194, 72)
HSLhsl(124, 52%, 51%)
HSVhsv(124, 67%, 76%)
CMYKcmyk(67%, 0%, 62.9%, 23.9%)
CIE-LABlab(69.57, -59.19, 49.84)
CIE-LCHlch(69.57, 77.38, 139.90°)
OKLaboklab(71.8% -0.1603 0.1163)
OKLCHoklch(71.8% 0.198 144.1)
XYZxyz(22.5744, 40.1391, 12.6876)
Luminance0.4014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C248 #C240BA
analogous
#79C240 #40C248 #40C289
triadic
#40C248 #4840C2 #C24840
tetradic
#40C248 #4079C2 #C240BA #C28940
square
#40C248 #4079C2 #C240BA #C28940
split-complementary
#40C248 #8940C2 #C24079
monochromatic
#216725 #309536 #40C248 #6ED174 #9DE0A1

Accessibility & contrast

On white

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

On black

9.03
#40C248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C248
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C248#FFFFFF#000000##000000
##40C2481.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B03A
Deuteranopia (green-blind)
#B6A652
Tritanopia (blue-blind)
#1CBDA8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c248;
/* rgb */ color: rgb(64, 194, 72);
/* oklch */ color: oklch(71.8% 0.198 144.1);
Tailwind
colors: {
  custom: {
    50: '#85d680',
    500: '#40c248',
    950: '#000000',
  },
}
SCSS
$custom: #40c248;
$custom-light: #85d680;
$custom-dark: #000000;
JSON
{
  "hex": "#40c248",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 72
  },
  "hsl": {
    "h": 123.692,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.71801,
    "c": 0.19806,
    "h": 144.1
  },
  "luminance": 0.40141
}

Semantic roles & 50–950 ramp

primary
#40C248
secondary
#CC92C8
accent
#4DD2DB
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #40C248

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

Preview Lab → · Contrast checker → · Palette generator →

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