#40B459#40B459

#40B459 is a light, vivid green. Relative luminance 0.345; OKLCH L 68.4% C 0.166 H 147.6°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#40B459
RGBrgb(64, 180, 89)
HSLhsl(133, 48%, 48%)
HSVhsv(133, 64%, 71%)
CMYKcmyk(64.4%, 0%, 50.6%, 29.4%)
CIE-LABlab(65.32, -51.95, 36.84)
CIE-LCHlch(65.32, 63.68, 144.66°)
OKLaboklab(68.35% -0.1402 0.0892)
OKLCHoklch(68.35% 0.166 147.6)
XYZxyz(20.2374, 34.4517, 15.0326)
Luminance0.3445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B459 #B4409B
analogous
#61B440 #40B459 #40B493
triadic
#40B459 #5940B4 #B45940
tetradic
#40B459 #4061B4 #B4409B #B49340
square
#40B459 #4061B4 #B4409B #B49340
split-complementary
#40B459 #9340B4 #B44061
monochromatic
#205A2C #308743 #40B459 #68C97D #95D9A4

Accessibility & contrast

On white

2.66
#40B459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#40B459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B459
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B459#FFFFFF#000000##000000
##40B4591.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A551
Deuteranopia (green-blind)
#A79B60
Tritanopia (blue-blind)
#1CB09F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40b459;
/* rgb */ color: rgb(64, 180, 89);
/* oklch */ color: oklch(68.4% 0.166 147.6);
Tailwind
colors: {
  custom: {
    50: '#82cb8a',
    500: '#40b459',
    950: '#000000',
  },
}
SCSS
$custom: #40b459;
$custom-light: #82cb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#40b459",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 89
  },
  "hsl": {
    "h": 132.931,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.68351,
    "c": 0.16617,
    "h": 147.6
  },
  "luminance": 0.34454
}

Semantic roles & 50–950 ramp

primary
#40B459
secondary
#C58BB8
accent
#51BAD7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C130C
muted
#7D827D

Preview Lab

Preview with #40B459

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

Preview Lab → · Contrast checker → · Palette generator →

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