#40AD1C#40AD1C

#40AD1C is a light, vivid 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#40AD1C
RGBrgb(64, 173, 28)
HSLhsl(105, 72%, 39%)
HSVhsv(105, 84%, 68%)
CMYKcmyk(63%, 0%, 83.8%, 32.2%)
CIE-LABlab(62.56, -55.43, 58.57)
CIE-LCHlch(62.56, 80.64, 133.42°)
OKLaboklab(65.9% -0.1524 0.129)
OKLCHoklch(65.9% 0.2 139.7)
XYZxyz(17.2667, 31.0593, 6.1835)
Luminance0.3106 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AD1C #891CAD
analogous
#89AD1C #40AD1C #1CAD40
triadic
#40AD1C #1C40AD #AD1C40
tetradic
#40AD1C #1C89AD #891CAD #AD401C
square
#40AD1C #1C89AD #891CAD #AD401C
split-complementary
#40AD1C #401CAD #AD1C89
monochromatic
#19440B #2D7813 #40AD1C #56DC2A #80E55E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AD1C#FFFFFF#000000##000000
##40AD1C1.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: #40ad1c;
/* rgb */ color: rgb(64, 173, 28);
/* oklch */ color: oklch(65.9% 0.200 139.7);
Tailwind
colors: {
  custom: {
    50: '#83c667',
    500: '#40ad1c',
    950: '#000000',
  },
}
SCSS
$custom: #40ad1c;
$custom-light: #83c667;
$custom-dark: #000000;
JSON
{
  "hex": "#40ad1c",
  "rgb": {
    "r": 64,
    "g": 173,
    "b": 28
  },
  "hsl": {
    "h": 105.103,
    "s": 72.139,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65902,
    "c": 0.19969,
    "h": 139.7
  },
  "luminance": 0.31061
}

Semantic roles & 50–950 ramp

primary
#40AD1C
secondary
#AE5CC9
accent
#39EFC2
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40AD1C

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

Preview Lab → · Contrast checker → · Palette generator →

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