#40A61B#40A61B

#40A61B is a light, vivid green. Relative luminance 0.284; OKLCH L 64.0% C 0.192 H 139.4°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#40A61B
RGBrgb(64, 166, 27)
HSLhsl(104, 72%, 38%)
HSVhsv(104, 84%, 65%)
CMYKcmyk(61.4%, 0%, 83.7%, 34.9%)
CIE-LABlab(60.28, -53.04, 56.77)
CIE-LCHlch(60.28, 77.69, 133.05°)
OKLaboklab(64.02% -0.146 0.1251)
OKLCHoklch(64.02% 0.192 139.4)
XYZxyz(15.9477, 28.4401, 5.6858)
Luminance0.2844 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A61B #811BA6
analogous
#85A61B #40A61B #1BA63C
triadic
#40A61B #1B40A6 #A61B40
tetradic
#40A61B #1B85A6 #811BA6 #A63C1B
square
#40A61B #1B85A6 #811BA6 #A63C1B
split-complementary
#40A61B #3C1BA6 #A61B85
monochromatic
#173D0A #2C7112 #40A61B #54DB24 #7DE458

Accessibility & contrast

On white

3.14
#40A61B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#40A61B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A61B
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A61B#FFFFFF#000000##000000
##40A61B1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#9F8E2D
Tritanopia (blue-blind)
#33A08D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a61b;
/* rgb */ color: rgb(64, 166, 27);
/* oklch */ color: oklch(64.0% 0.192 139.4);
Tailwind
colors: {
  custom: {
    50: '#82c165',
    500: '#40a61b',
    950: '#000000',
  },
}
SCSS
$custom: #40a61b;
$custom-light: #82c165;
$custom-dark: #000000;
JSON
{
  "hex": "#40a61b",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 27
  },
  "hsl": {
    "h": 104.029,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64019,
    "c": 0.19229,
    "h": 139.4
  },
  "luminance": 0.28442
}

Semantic roles & 50–950 ramp

primary
#40A61B
secondary
#A956C7
accent
#39EFBE
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #40A61B

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

Preview Lab → · Contrast checker → · Palette generator →

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