#40945B#40945B

#40945B is a mid, moderate green. Relative luminance 0.230; OKLCH L 60.0% C 0.119 H 151.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#40945B
RGBrgb(64, 148, 91)
HSLhsl(139, 40%, 42%)
HSVhsv(139, 57%, 58%)
CMYKcmyk(56.8%, 0%, 38.5%, 42%)
CIE-LABlab(55.10, -38.73, 22.68)
CIE-LCHlch(55.10, 44.88, 149.65°)
OKLaboklab(59.96% -0.105 0.0566)
OKLCHoklch(59.96% 0.119 151.7)
XYZxyz(14.5915, 23.0238, 13.5706)
Luminance0.2303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40945B #944079
analogous
#4F9440 #40945B #409485
triadic
#40945B #5B4094 #945B40
tetradic
#40945B #404F94 #944079 #948540
square
#40945B #404F94 #944079 #948540
split-complementary
#40945B #854094 #94404F
monochromatic
#1B3F26 #2E6941 #40945B #5AB878 #84CA9B

Accessibility & contrast

On white

3.75
#40945B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#40945B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40945B
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40945B#FFFFFF#000000##000000
##40945B1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948957
Deuteranopia (green-blind)
#89815F
Tritanopia (blue-blind)
#2A9286
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #40945b;
/* rgb */ color: rgb(64, 148, 91);
/* oklch */ color: oklch(60.0% 0.119 151.7);
Tailwind
colors: {
  custom: {
    50: '#7cb48a',
    500: '#40945b',
    950: '#000000',
  },
}
SCSS
$custom: #40945b;
$custom-light: #7cb48a;
$custom-dark: #000000;
JSON
{
  "hex": "#40945b",
  "rgb": {
    "r": 64,
    "g": 148,
    "b": 91
  },
  "hsl": {
    "h": 139.286,
    "s": 39.623,
    "l": 41.569
  },
  "oklch": {
    "l": 0.59956,
    "c": 0.1193,
    "h": 151.7
  },
  "luminance": 0.23025
}

Semantic roles & 50–950 ramp

primary
#40945B
secondary
#B47BA2
accent
#58A9D0
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110B
muted
#7C807C

Preview Lab

Preview with #40945B

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

Preview Lab → · Contrast checker → · Palette generator →

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