#40C674#40C674

#40C674 is a light, vivid green. Relative luminance 0.427; OKLCH L 73.5% C 0.165 H 152.5°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#40C674
RGBrgb(64, 198, 116)
HSLhsl(143, 54%, 51%)
HSVhsv(143, 68%, 78%)
CMYKcmyk(67.7%, 0%, 41.4%, 22.4%)
CIE-LABlab(71.38, -54.31, 30.80)
CIE-LCHlch(71.38, 62.44, 150.44°)
OKLaboklab(73.47% -0.1465 0.0764)
OKLCHoklch(73.47% 0.165 152.5)
XYZxyz(25.4587, 42.7363, 23.4268)
Luminance0.4274 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C674 #C64092
analogous
#4FC640 #40C674 #40C6B7
triadic
#40C674 #7440C6 #C67440
tetradic
#40C674 #404FC6 #C64092 #C6B740
square
#40C674 #404FC6 #C64092 #C6B740
split-complementary
#40C674 #B740C6 #C6404F
monochromatic
#206C3D #2E9B58 #40C674 #6FD496 #9EE2B9

Accessibility & contrast

On white

2.20
#40C674 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#40C674 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C674
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C674#FFFFFF#000000##000000
##40C6741.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B66E
Deuteranopia (green-blind)
#B6AA79
Tritanopia (blue-blind)
#00C3B2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c674;
/* rgb */ color: rgb(64, 198, 116);
/* oklch */ color: oklch(73.5% 0.165 152.5);
Tailwind
colors: {
  custom: {
    50: '#85d89d',
    500: '#40c674',
    950: '#000000',
  },
}
SCSS
$custom: #40c674;
$custom-light: #85d89d;
$custom-dark: #000000;
JSON
{
  "hex": "#40c674",
  "rgb": {
    "r": 64,
    "g": 198,
    "b": 116
  },
  "hsl": {
    "h": 143.284,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73472,
    "c": 0.16523,
    "h": 152.5
  },
  "luminance": 0.42739
}

Semantic roles & 50–950 ramp

primary
#40C674
secondary
#CE93B8
accent
#4AA4DD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40C674

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

Preview Lab → · Contrast checker → · Palette generator →

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