#40B248#40B248

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

Color values

HEX#40B248
RGBrgb(64, 178, 72)
HSLhsl(124, 47%, 47%)
HSVhsv(124, 64%, 70%)
CMYKcmyk(64%, 0%, 59.6%, 30.2%)
CIE-LABlab(64.48, -53.51, 44.05)
CIE-LCHlch(64.48, 69.31, 140.54°)
OKLaboklab(67.59% -0.145 0.1038)
OKLCHoklch(67.59% 0.178 144.4)
XYZxyz(19.2033, 33.3967, 11.5638)
Luminance0.3340 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B248 #B240AA
analogous
#71B240 #40B248 #40B281
triadic
#40B248 #4840B2 #B24840
tetradic
#40B248 #4071B2 #B240AA #B28140
square
#40B248 #4071B2 #B240AA #B28140
split-complementary
#40B248 #8140B2 #B24071
monochromatic
#205824 #308536 #40B248 #67C86E #94D899

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B248#FFFFFF#000000##000000
##40B2481.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)
#B5A23D
Deuteranopia (green-blind)
#A79951
Tritanopia (blue-blind)
#25AD9B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b248;
/* rgb */ color: rgb(64, 178, 72);
/* oklch */ color: oklch(67.6% 0.178 144.4);
Tailwind
colors: {
  custom: {
    50: '#82ca7e',
    500: '#40b248',
    950: '#000000',
  },
}
SCSS
$custom: #40b248;
$custom-light: #82ca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b248",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 124.211,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67594,
    "c": 0.17831,
    "h": 144.4
  },
  "luminance": 0.33399
}

Semantic roles & 50–950 ramp

primary
#40B248
secondary
#C48AC0
accent
#51CDD7
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #40B248

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

Preview Lab → · Contrast checker → · Palette generator →

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