#40C245#40C245

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

Color values

HEX#40C245
RGBrgb(64, 194, 69)
HSLhsl(122, 52%, 51%)
HSVhsv(122, 67%, 76%)
CMYKcmyk(67%, 0%, 64.4%, 23.9%)
CIE-LABlab(69.54, -59.51, 51.11)
CIE-LCHlch(69.54, 78.44, 139.34°)
OKLaboklab(71.77% -0.1613 0.1187)
OKLCHoklch(71.77% 0.2 143.7)
XYZxyz(22.4789, 40.1009, 12.1847)
Luminance0.4010 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C245 #C240BD
analogous
#7CC240 #40C245 #40C286
triadic
#40C245 #4540C2 #C24540
tetradic
#40C245 #407CC2 #C240BD #C28640
square
#40C245 #407CC2 #C240BD #C28640
split-complementary
#40C245 #8640C2 #C2407C
monochromatic
#216724 #309534 #40C245 #6ED172 #9DE09F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C245#FFFFFF#000000##000000
##40C2451.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)
#C6B036
Deuteranopia (green-blind)
#B6A650
Tritanopia (blue-blind)
#1DBDA8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c245;
/* rgb */ color: rgb(64, 194, 69);
/* oklch */ color: oklch(71.8% 0.200 143.7);
Tailwind
colors: {
  custom: {
    50: '#85d67e',
    500: '#40c245',
    950: '#000000',
  },
}
SCSS
$custom: #40c245;
$custom-light: #85d67e;
$custom-dark: #000000;
JSON
{
  "hex": "#40c245",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 69
  },
  "hsl": {
    "h": 122.308,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7177,
    "c": 0.20027,
    "h": 143.7
  },
  "luminance": 0.40103
}

Semantic roles & 50–950 ramp

primary
#40C245
secondary
#CC92CA
accent
#4DD6DB
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #40C245

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

Preview Lab → · Contrast checker → · Palette generator →

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