#40B258#40B258

#40B258 is a light, vivid green. Relative luminance 0.336; OKLCH L 67.8% C 0.164 H 147.5°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#40B258
RGBrgb(64, 178, 88)
HSLhsl(133, 47%, 47%)
HSVhsv(133, 64%, 70%)
CMYKcmyk(64%, 0%, 50.6%, 30.2%)
CIE-LABlab(64.67, -51.34, 36.53)
CIE-LCHlch(64.67, 63.02, 144.57°)
OKLaboklab(67.81% -0.1386 0.0884)
OKLCHoklch(67.81% 0.164 147.5)
XYZxyz(19.7948, 33.6334, 14.6793)
Luminance0.3363 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B258 #B2409A
analogous
#61B240 #40B258 #40B291
triadic
#40B258 #5840B2 #B25840
tetradic
#40B258 #4061B2 #B2409A #B29140
square
#40B258 #4061B2 #B2409A #B29140
split-complementary
#40B258 #9140B2 #B24061
monochromatic
#20582B #308542 #40B258 #67C87B #94D8A2

Accessibility & contrast

On white

2.72
#40B258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#40B258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B258
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B258#FFFFFF#000000##000000
##40B2581.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A350
Deuteranopia (green-blind)
#A6995E
Tritanopia (blue-blind)
#1EAE9D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b258;
/* rgb */ color: rgb(64, 178, 88);
/* oklch */ color: oklch(67.8% 0.164 147.5);
Tailwind
colors: {
  custom: {
    50: '#82ca89',
    500: '#40b258',
    950: '#000000',
  },
}
SCSS
$custom: #40b258;
$custom-light: #82ca89;
$custom-dark: #000000;
JSON
{
  "hex": "#40b258",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 88
  },
  "hsl": {
    "h": 132.632,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67812,
    "c": 0.16442,
    "h": 147.5
  },
  "luminance": 0.33635
}

Semantic roles & 50–950 ramp

primary
#40B258
secondary
#C48AB8
accent
#51BBD7
background
#F8FCF8
surface
#F0F8F0
border
#CBD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40B258

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

Preview Lab → · Contrast checker → · Palette generator →

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