#40B249#40B249

#40B249 is a light, vivid green. Relative luminance 0.334; OKLCH L 67.6% C 0.177 H 144.5°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#40B249
RGBrgb(64, 178, 73)
HSLhsl(125, 47%, 47%)
HSVhsv(125, 64%, 70%)
CMYKcmyk(64%, 0%, 59%, 30.2%)
CIE-LABlab(64.49, -53.39, 43.59)
CIE-LCHlch(64.49, 68.92, 140.77°)
OKLaboklab(67.61% -0.1446 0.103)
OKLCHoklch(67.61% 0.178 144.5)
XYZxyz(19.2362, 33.4099, 11.7371)
Luminance0.3341 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B249 #B240A9
analogous
#70B240 #40B249 #40B282
triadic
#40B249 #4940B2 #B24940
tetradic
#40B249 #4070B2 #B240A9 #B28240
square
#40B249 #4070B2 #B240A9 #B28240
split-complementary
#40B249 #8240B2 #B24070
monochromatic
#205824 #308537 #40B249 #67C86F #94D899

Accessibility & contrast

On white

2.73
#40B249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#40B249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B249
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B249#FFFFFF#000000##000000
##40B2491.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A23E
Deuteranopia (green-blind)
#A79951
Tritanopia (blue-blind)
#25AD9B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b249;
/* rgb */ color: rgb(64, 178, 73);
/* oklch */ color: oklch(67.6% 0.177 144.5);
Tailwind
colors: {
  custom: {
    50: '#82ca7f',
    500: '#40b249',
    950: '#000000',
  },
}
SCSS
$custom: #40b249;
$custom-light: #82ca7f;
$custom-dark: #000000;
JSON
{
  "hex": "#40b249",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 73
  },
  "hsl": {
    "h": 124.737,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67606,
    "c": 0.1775,
    "h": 144.5
  },
  "luminance": 0.33412
}

Semantic roles & 50–950 ramp

primary
#40B249
secondary
#C48ABF
accent
#51CCD7
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #40B249

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

Preview Lab → · Contrast checker → · Palette generator →

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