#40A326#40A326

#40A326 is a light, vivid green. Relative luminance 0.274; OKLCH L 63.3% C 0.184 H 140.1°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#40A326
RGBrgb(64, 163, 38)
HSLhsl(108, 62%, 39%)
HSVhsv(108, 77%, 64%)
CMYKcmyk(60.7%, 0%, 76.7%, 36.1%)
CIE-LABlab(59.36, -51.32, 52.56)
CIE-LCHlch(59.36, 73.45, 134.32°)
OKLaboklab(63.28% -0.1408 0.1179)
OKLCHoklch(63.28% 0.184 140.1)
XYZxyz(15.5607, 27.4229, 6.3065)
Luminance0.2742 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A326 #8926A3
analogous
#7FA326 #40A326 #26A34B
triadic
#40A326 #2640A3 #A32640
tetradic
#40A326 #267FA3 #8926A3 #A34B26
square
#40A326 #267FA3 #8926A3 #A34B26
split-complementary
#40A326 #4B26A3 #A3267F
monochromatic
#19400F #2D711A #40A326 #56D036 #80DC68

Accessibility & contrast

On white

3.24
#40A326 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#40A326 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A326
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A326#FFFFFF#000000##000000
##40A3261.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89408
Deuteranopia (green-blind)
#9B8C34
Tritanopia (blue-blind)
#339E8B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a326;
/* rgb */ color: rgb(64, 163, 38);
/* oklch */ color: oklch(63.3% 0.184 140.1);
Tailwind
colors: {
  custom: {
    50: '#81bf6a',
    500: '#40a326',
    950: '#000000',
  },
}
SCSS
$custom: #40a326;
$custom-light: #81bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#40a326",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 38
  },
  "hsl": {
    "h": 107.52,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63275,
    "c": 0.18366,
    "h": 140.1
  },
  "luminance": 0.27424
}

Semantic roles & 50–950 ramp

primary
#40A326
secondary
#AE63C2
accent
#43E5C3
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A326

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

Preview Lab → · Contrast checker → · Palette generator →

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