#40AD1B#40AD1B

#40AD1B is a light, highly saturated green. Relative luminance 0.311; OKLCH L 65.9% C 0.200 H 139.7°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#40AD1B
RGBrgb(64, 173, 27)
HSLhsl(105, 73%, 39%)
HSVhsv(105, 84%, 68%)
CMYKcmyk(63%, 0%, 84.4%, 32.2%)
CIE-LABlab(62.55, -55.48, 58.82)
CIE-LCHlch(62.55, 80.86, 133.33°)
OKLaboklab(65.9% -0.1526 0.1294)
OKLCHoklch(65.9% 0.2 139.7)
XYZxyz(17.2550, 31.0546, 6.1215)
Luminance0.3106 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AD1B #881BAD
analogous
#89AD1B #40AD1B #1BAD3F
triadic
#40AD1B #1B40AD #AD1B40
tetradic
#40AD1B #1B89AD #881BAD #AD3F1B
square
#40AD1B #1B89AD #881BAD #AD3F1B
split-complementary
#40AD1B #3F1BAD #AD1B89
monochromatic
#19430A #2C7813 #40AD1B #56DD28 #7FE65D

Accessibility & contrast

On white

2.91
#40AD1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#40AD1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AD1B
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AD1B#FFFFFF#000000##000000
##40AD1B1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#A5942F
Tritanopia (blue-blind)
#31A793
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40ad1b;
/* rgb */ color: rgb(64, 173, 27);
/* oklch */ color: oklch(65.9% 0.200 139.7);
Tailwind
colors: {
  custom: {
    50: '#83c667',
    500: '#40ad1b',
    950: '#000000',
  },
}
SCSS
$custom: #40ad1b;
$custom-light: #83c667;
$custom-dark: #000000;
JSON
{
  "hex": "#40ad1b",
  "rgb": {
    "r": 64,
    "g": 173,
    "b": 27
  },
  "hsl": {
    "h": 104.795,
    "s": 73,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65897,
    "c": 0.20007,
    "h": 139.7
  },
  "luminance": 0.31056
}

Semantic roles & 50–950 ramp

primary
#40AD1B
secondary
#AD5ACA
accent
#38F0C1
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40AD1B

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

Preview Lab → · Contrast checker → · Palette generator →

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