#40944B#40944B

#40944B is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.7% C 0.135 H 146.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#40944B
RGBrgb(64, 148, 75)
HSLhsl(128, 40%, 42%)
HSVhsv(128, 57%, 58%)
CMYKcmyk(56.8%, 0%, 49.3%, 42%)
CIE-LABlab(54.84, -41.46, 30.97)
CIE-LCHlch(54.84, 51.75, 143.24°)
OKLaboklab(59.66% -0.1123 0.0752)
OKLCHoklch(59.66% 0.135 146.2)
XYZxyz(13.9734, 22.7766, 10.3152)
Luminance0.2278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40944B #944089
analogous
#5F9440 #40944B #409475
triadic
#40944B #4B4094 #944B40
tetradic
#40944B #405F94 #944089 #947540
square
#40944B #405F94 #944089 #947540
split-complementary
#40944B #754094 #94405F
monochromatic
#1B3F20 #2E6935 #40944B #5AB866 #84CA8E

Accessibility & contrast

On white

3.78
#40944B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#40944B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40944B
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40944B#FFFFFF#000000##000000
##40944B1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968845
Deuteranopia (green-blind)
#8B8050
Tritanopia (blue-blind)
#309183
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #40944b;
/* rgb */ color: rgb(64, 148, 75);
/* oklch */ color: oklch(59.7% 0.135 146.2);
Tailwind
colors: {
  custom: {
    50: '#7db47f',
    500: '#40944b',
    950: '#000000',
  },
}
SCSS
$custom: #40944b;
$custom-light: #7db47f;
$custom-dark: #000000;
JSON
{
  "hex": "#40944b",
  "rgb": {
    "r": 64,
    "g": 148,
    "b": 75
  },
  "hsl": {
    "h": 127.857,
    "s": 39.623,
    "l": 41.569
  },
  "oklch": {
    "l": 0.59663,
    "c": 0.13519,
    "h": 146.2
  },
  "luminance": 0.22778
}

Semantic roles & 50–950 ramp

primary
#40944B
secondary
#B47BAD
accent
#58C0D0
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #40944B

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

Preview Lab → · Contrast checker → · Palette generator →

#40944B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva