#40A92B#40A92B

#40A92B is a light, vivid green. Relative luminance 0.296; OKLCH L 64.9% C 0.188 H 140.7°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#40A92B
RGBrgb(64, 169, 43)
HSLhsl(110, 59%, 42%)
HSVhsv(110, 75%, 66%)
CMYKcmyk(62.1%, 0%, 74.6%, 33.7%)
CIE-LABlab(61.34, -53.11, 52.76)
CIE-LCHlch(61.34, 74.86, 135.19°)
OKLaboklab(64.92% -0.1454 0.119)
OKLCHoklch(64.92% 0.188 140.7)
XYZxyz(16.7376, 29.6388, 7.1238)
Luminance0.2964 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A92B #942BA9
analogous
#7FA92B #40A92B #2BA955
triadic
#40A92B #2B40A9 #A92B40
tetradic
#40A92B #2B7FA9 #942BA9 #A9552B
square
#40A92B #2B7FA9 #942BA9 #A9552B
split-complementary
#40A92B #552BA9 #A92B7F
monochromatic
#1B4712 #2E781F #40A92B #5ACF42 #84DB73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A92B#FFFFFF#000000##000000
##40A92B1.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)
#AD9912
Deuteranopia (green-blind)
#A19138
Tritanopia (blue-blind)
#30A491
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #40a92b;
/* rgb */ color: rgb(64, 169, 43);
/* oklch */ color: oklch(64.9% 0.188 140.7);
Tailwind
colors: {
  custom: {
    50: '#82c36d',
    500: '#40a92b',
    950: '#000000',
  },
}
SCSS
$custom: #40a92b;
$custom-light: #82c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#40a92b",
  "rgb": {
    "r": 64,
    "g": 169,
    "b": 43
  },
  "hsl": {
    "h": 110,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6492,
    "c": 0.18788,
    "h": 140.7
  },
  "luminance": 0.2964
}

Semantic roles & 50–950 ramp

primary
#40A92B
secondary
#B46DC3
accent
#45E3C8
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40A92B

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

Preview Lab → · Contrast checker → · Palette generator →

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