#40A92F#40A92F

#40A92F is a light, vivid green. Relative luminance 0.297; OKLCH L 65.0% C 0.185 H 141.1°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#40A92F
RGBrgb(64, 169, 47)
HSLhsl(112, 56%, 42%)
HSVhsv(112, 72%, 66%)
CMYKcmyk(62.1%, 0%, 72.2%, 33.7%)
CIE-LABlab(61.37, -52.80, 51.30)
CIE-LCHlch(61.37, 73.62, 135.82°)
OKLaboklab(64.95% -0.1443 0.1165)
OKLCHoklch(64.95% 0.185 141.1)
XYZxyz(16.8146, 29.6696, 7.5295)
Luminance0.2967 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A92F #982FA9
analogous
#7DA92F #40A92F #2FA95B
triadic
#40A92F #2F40A9 #A92F40
tetradic
#40A92F #2F7DA9 #982FA9 #A95B2F
square
#40A92F #2F7DA9 #982FA9 #A95B2F
split-complementary
#40A92F #5B2FA9 #A92F7D
monochromatic
#1C4914 #2E7922 #40A92F #5BCC49 #86DA79

Accessibility & contrast

On white

3.03
#40A92F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#40A92F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A92F
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A92F#FFFFFF#000000##000000
##40A92F1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991A
Deuteranopia (green-blind)
#A0913B
Tritanopia (blue-blind)
#2FA491
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #40a92f;
/* rgb */ color: rgb(64, 169, 47);
/* oklch */ color: oklch(65.0% 0.185 141.1);
Tailwind
colors: {
  custom: {
    50: '#82c36f',
    500: '#40a92f',
    950: '#000000',
  },
}
SCSS
$custom: #40a92f;
$custom-light: #82c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#40a92f",
  "rgb": {
    "r": 64,
    "g": 169,
    "b": 47
  },
  "hsl": {
    "h": 111.639,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.64951,
    "c": 0.18547,
    "h": 141.1
  },
  "luminance": 0.29671
}

Semantic roles & 50–950 ramp

primary
#40A92F
secondary
#B772C2
accent
#48E0CB
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40A92F

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

Preview Lab → · Contrast checker → · Palette generator →

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