#40B42B#40B42B

#40B42B is a light, highly saturated green. Relative luminance 0.339; OKLCH L 67.9% C 0.201 H 141.0°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#40B42B
RGBrgb(64, 180, 43)
HSLhsl(111, 61%, 44%)
HSVhsv(111, 76%, 71%)
CMYKcmyk(64.4%, 0%, 76.1%, 29.4%)
CIE-LABlab(64.89, -56.96, 56.27)
CIE-LCHlch(64.89, 80.07, 135.35°)
OKLaboklab(67.86% -0.1558 0.1263)
OKLCHoklch(67.86% 0.201 141)
XYZxyz(18.8707, 33.9051, 7.8349)
Luminance0.3391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B42B #9F2BB4
analogous
#84B42B #40B42B #2BB45A
triadic
#40B42B #2B40B4 #B42B40
tetradic
#40B42B #2B84B4 #9F2BB4 #B45A2B
square
#40B42B #2B84B4 #9F2BB4 #B45A2B
split-complementary
#40B42B #5A2BB4 #B42B84
monochromatic
#1D5113 #2E831F #40B42B #5ED349 #8ADF7A

Accessibility & contrast

On white

2.70
#40B42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#40B42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B42B
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B42B#FFFFFF#000000##000000
##40B42B1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A30B
Deuteranopia (green-blind)
#AB9A3A
Tritanopia (blue-blind)
#2CAE9A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b42b;
/* rgb */ color: rgb(64, 180, 43);
/* oklch */ color: oklch(67.9% 0.201 141.0);
Tailwind
colors: {
  custom: {
    50: '#84cb6e',
    500: '#40b42b',
    950: '#000000',
  },
}
SCSS
$custom: #40b42b;
$custom-light: #84cb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b42b",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 43
  },
  "hsl": {
    "h": 110.803,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67855,
    "c": 0.20057,
    "h": 141
  },
  "luminance": 0.33907
}

Semantic roles & 50–950 ramp

primary
#40B42B
secondary
#BB73C7
accent
#43E5CC
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B42B

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

Preview Lab → · Contrast checker → · Palette generator →

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