#40B274#40B274

#40B274 is a light, vivid green. Relative luminance 0.342; OKLCH L 68.3% C 0.138 H 155.8°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#40B274
RGBrgb(64, 178, 116)
HSLhsl(147, 47%, 47%)
HSVhsv(147, 64%, 70%)
CMYKcmyk(64%, 0%, 34.8%, 30.2%)
CIE-LABlab(65.11, -46.47, 22.49)
CIE-LCHlch(65.11, 51.62, 154.18°)
OKLaboklab(68.32% -0.1261 0.0566)
OKLCHoklch(68.32% 0.138 155.8)
XYZxyz(21.1853, 34.1895, 22.0024)
Luminance0.3419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B274 #B2407E
analogous
#45B240 #40B274 #40B2AD
triadic
#40B274 #7440B2 #B27440
tetradic
#40B274 #4045B2 #B2407E #B2AD40
square
#40B274 #4045B2 #B2407E #B2AD40
split-complementary
#40B274 #AD40B2 #B24045
monochromatic
#205839 #308557 #40B274 #67C893 #94D8B3

Accessibility & contrast

On white

2.68
#40B274 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#40B274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B274
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B274#FFFFFF#000000##000000
##40B2741.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A470
Deuteranopia (green-blind)
#A29A78
Tritanopia (blue-blind)
#00B0A2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b274;
/* rgb */ color: rgb(64, 178, 116);
/* oklch */ color: oklch(68.3% 0.138 155.8);
Tailwind
colors: {
  custom: {
    50: '#81ca9c',
    500: '#40b274',
    950: '#000000',
  },
}
SCSS
$custom: #40b274;
$custom-light: #81ca9c;
$custom-dark: #000000;
JSON
{
  "hex": "#40b274",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 116
  },
  "hsl": {
    "h": 147.368,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.6832,
    "c": 0.13818,
    "h": 155.8
  },
  "luminance": 0.34192
}

Semantic roles & 50–950 ramp

primary
#40B274
secondary
#C48AA9
accent
#519AD7
background
#F8FCF9
surface
#F0F8F2
border
#CBD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40B274

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

Preview Lab → · Contrast checker → · Palette generator →

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