#40A61C#40A61C

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

Color values

HEX#40A61C
RGBrgb(64, 166, 28)
HSLhsl(104, 71%, 38%)
HSVhsv(104, 83%, 65%)
CMYKcmyk(61.4%, 0%, 83.1%, 34.9%)
CIE-LABlab(60.29, -52.99, 56.51)
CIE-LCHlch(60.29, 77.46, 133.16°)
OKLaboklab(64.02% -0.1458 0.1247)
OKLCHoklch(64.02% 0.192 139.5)
XYZxyz(15.9595, 28.4448, 5.7477)
Luminance0.2845 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A61C #821CA6
analogous
#85A61C #40A61C #1CA63D
triadic
#40A61C #1C40A6 #A61C40
tetradic
#40A61C #1C85A6 #821CA6 #A63D1C
square
#40A61C #1C85A6 #821CA6 #A63D1C
split-complementary
#40A61C #3D1CA6 #A61C85
monochromatic
#183D0A #2C7213 #40A61C #54DA25 #7DE359

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A61C#FFFFFF#000000##000000
##40A61C1.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)
#9F8E2E
Tritanopia (blue-blind)
#33A08D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a61c;
/* rgb */ color: rgb(64, 166, 28);
/* oklch */ color: oklch(64.0% 0.192 139.5);
Tailwind
colors: {
  custom: {
    50: '#82c166',
    500: '#40a61c',
    950: '#000000',
  },
}
SCSS
$custom: #40a61c;
$custom-light: #82c166;
$custom-dark: #000000;
JSON
{
  "hex": "#40a61c",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 28
  },
  "hsl": {
    "h": 104.348,
    "s": 71.134,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64024,
    "c": 0.19188,
    "h": 139.5
  },
  "luminance": 0.28446
}

Semantic roles & 50–950 ramp

primary
#40A61C
secondary
#AA57C7
accent
#3AEEBF
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #40A61C

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

Preview Lab → · Contrast checker → · Palette generator →

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