#40934E#40934E

#40934E is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.4% C 0.131 H 147.1°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#40934E
RGBrgb(64, 147, 78)
HSLhsl(130, 39%, 41%)
HSVhsv(130, 56%, 58%)
CMYKcmyk(56.5%, 0%, 46.9%, 42.4%)
CIE-LABlab(54.56, -40.57, 29.03)
CIE-LCHlch(54.56, 49.88, 144.42°)
OKLaboklab(59.45% -0.1099 0.071)
OKLCHoklch(59.45% 0.131 147.1)
XYZxyz(13.9223, 22.5063, 10.8167)
Luminance0.2251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40934E #934085
analogous
#5C9340 #40934E #409378
triadic
#40934E #4E4093 #934E40
tetradic
#40934E #405C93 #934085 #937840
square
#40934E #405C93 #934085 #937840
split-complementary
#40934E #784093 #93405C
monochromatic
#1B3E21 #2D6837 #40934E #59B769 #84C990

Accessibility & contrast

On white

3.82
#40934E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#40934E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40934E
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40934E#FFFFFF#000000##000000
##40934E1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958749
Deuteranopia (green-blind)
#8A8053
Tritanopia (blue-blind)
#2F9083
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #40934e;
/* rgb */ color: rgb(64, 147, 78);
/* oklch */ color: oklch(59.4% 0.131 147.1);
Tailwind
colors: {
  custom: {
    50: '#7cb381',
    500: '#40934e',
    950: '#000000',
  },
}
SCSS
$custom: #40934e;
$custom-light: #7cb381;
$custom-dark: #000000;
JSON
{
  "hex": "#40934e",
  "rgb": {
    "r": 64,
    "g": 147,
    "b": 78
  },
  "hsl": {
    "h": 130.12,
    "s": 39.336,
    "l": 41.373
  },
  "oklch": {
    "l": 0.59446,
    "c": 0.13081,
    "h": 147.1
  },
  "luminance": 0.22507
}

Semantic roles & 50–950 ramp

primary
#40934E
secondary
#B47BAA
accent
#59BBCF
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #40934E

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

Preview Lab → · Contrast checker → · Palette generator →

#40934E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva