#40B253#40B253

#40B253 is a light, vivid green. Relative luminance 0.336; OKLCH L 67.7% C 0.169 H 146.4°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#40B253
RGBrgb(64, 178, 83)
HSLhsl(130, 47%, 47%)
HSVhsv(130, 64%, 70%)
CMYKcmyk(64%, 0%, 53.4%, 30.2%)
CIE-LABlab(64.61, -52.07, 38.94)
CIE-LCHlch(64.61, 65.02, 143.21°)
OKLaboklab(67.74% -0.1407 0.0935)
OKLCHoklch(67.74% 0.169 146.4)
XYZxyz(19.5948, 33.5533, 13.6257)
Luminance0.3356 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B253 #B2409F
analogous
#66B240 #40B253 #40B28C
triadic
#40B253 #5340B2 #B25340
tetradic
#40B253 #4066B2 #B2409F #B28C40
square
#40B253 #4066B2 #B2409F #B28C40
split-complementary
#40B253 #8C40B2 #B24066
monochromatic
#205829 #30853E #40B253 #67C877 #94D89F

Accessibility & contrast

On white

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

On black

7.71
#40B253 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B253
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B253#FFFFFF#000000##000000
##40B2531.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A34A
Deuteranopia (green-blind)
#A6995A
Tritanopia (blue-blind)
#20AE9C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b253;
/* rgb */ color: rgb(64, 178, 83);
/* oklch */ color: oklch(67.7% 0.169 146.4);
Tailwind
colors: {
  custom: {
    50: '#82ca85',
    500: '#40b253',
    950: '#000000',
  },
}
SCSS
$custom: #40b253;
$custom-light: #82ca85;
$custom-dark: #000000;
JSON
{
  "hex": "#40b253",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 83
  },
  "hsl": {
    "h": 130,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67738,
    "c": 0.16892,
    "h": 146.4
  },
  "luminance": 0.33555
}

Semantic roles & 50–950 ramp

primary
#40B253
secondary
#C48ABA
accent
#51C0D7
background
#F8FCF8
surface
#F0F8EF
border
#CBD1CA
text
#0C130B
muted
#7D827C

Preview Lab

Preview with #40B253

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

Preview Lab → · Contrast checker → · Palette generator →

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