#40945E#40945E

#40945E is a mid, moderate green. Relative luminance 0.231; OKLCH L 60.0% C 0.116 H 153.0°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#40945E
RGBrgb(64, 148, 94)
HSLhsl(141, 40%, 42%)
HSVhsv(141, 57%, 58%)
CMYKcmyk(56.8%, 0%, 36.5%, 42%)
CIE-LABlab(55.15, -38.16, 21.09)
CIE-LCHlch(55.15, 43.60, 151.06°)
OKLaboklab(60.02% -0.1036 0.0529)
OKLCHoklch(60.02% 0.116 153)
XYZxyz(14.7235, 23.0766, 14.2658)
Luminance0.2308 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40945E #944076
analogous
#4C9440 #40945E #409488
triadic
#40945E #5E4094 #945E40
tetradic
#40945E #404C94 #944076 #948840
square
#40945E #404C94 #944076 #948840
split-complementary
#40945E #884094 #94404C
monochromatic
#1B3F28 #2E6943 #40945E #5AB87B #84CA9D

Accessibility & contrast

On white

3.74
#40945E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#40945E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40945E
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40945E#FFFFFF#000000##000000
##40945E1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94895A
Deuteranopia (green-blind)
#898161
Tritanopia (blue-blind)
#289286
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #40945e;
/* rgb */ color: rgb(64, 148, 94);
/* oklch */ color: oklch(60.0% 0.116 153.0);
Tailwind
colors: {
  custom: {
    50: '#7cb48c',
    500: '#40945e',
    950: '#000000',
  },
}
SCSS
$custom: #40945e;
$custom-light: #7cb48c;
$custom-dark: #000000;
JSON
{
  "hex": "#40945e",
  "rgb": {
    "r": 64,
    "g": 148,
    "b": 94
  },
  "hsl": {
    "h": 141.429,
    "s": 39.623,
    "l": 41.569
  },
  "oklch": {
    "l": 0.60018,
    "c": 0.1163,
    "h": 153
  },
  "luminance": 0.23078
}

Semantic roles & 50–950 ramp

primary
#40945E
secondary
#B47BA0
accent
#58A5D0
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #40945E

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

Preview Lab → · Contrast checker → · Palette generator →

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