#40C249#40C249

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

Color values

HEX#40C249
RGBrgb(64, 194, 73)
HSLhsl(124, 52%, 51%)
HSVhsv(124, 67%, 76%)
CMYKcmyk(67%, 0%, 62.4%, 23.9%)
CIE-LABlab(69.58, -59.08, 49.42)
CIE-LCHlch(69.58, 77.02, 140.09°)
OKLaboklab(71.81% -0.16 0.1155)
OKLCHoklch(71.81% 0.197 144.2)
XYZxyz(22.6073, 40.1522, 12.8608)
Luminance0.4016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C249 #C240B9
analogous
#78C240 #40C249 #40C28A
triadic
#40C249 #4940C2 #C24940
tetradic
#40C249 #4078C2 #C240B9 #C28A40
square
#40C249 #4078C2 #C240B9 #C28A40
split-complementary
#40C249 #8A40C2 #C24078
monochromatic
#216726 #309537 #40C249 #6ED175 #9DE0A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C249#FFFFFF#000000##000000
##40C2491.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)
#C6B03B
Deuteranopia (green-blind)
#B6A653
Tritanopia (blue-blind)
#1BBDA8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c249;
/* rgb */ color: rgb(64, 194, 73);
/* oklch */ color: oklch(71.8% 0.197 144.2);
Tailwind
colors: {
  custom: {
    50: '#85d680',
    500: '#40c249',
    950: '#000000',
  },
}
SCSS
$custom: #40c249;
$custom-light: #85d680;
$custom-dark: #000000;
JSON
{
  "hex": "#40c249",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 73
  },
  "hsl": {
    "h": 124.154,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.71811,
    "c": 0.19731,
    "h": 144.2
  },
  "luminance": 0.40155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C249

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

Preview Lab → · Contrast checker → · Palette generator →

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