#40945D#40945D

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

Color values

HEX#40945D
RGBrgb(64, 148, 93)
HSLhsl(141, 40%, 42%)
HSVhsv(141, 57%, 58%)
CMYKcmyk(56.8%, 0%, 37.2%, 42%)
CIE-LABlab(55.13, -38.35, 21.62)
CIE-LCHlch(55.13, 44.02, 150.58°)
OKLaboklab(60% -0.1041 0.0541)
OKLCHoklch(60% 0.117 152.5)
XYZxyz(14.6789, 23.0588, 14.0310)
Luminance0.2306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40945D #944077
analogous
#4D9440 #40945D #409487
triadic
#40945D #5D4094 #945D40
tetradic
#40945D #404D94 #944077 #948740
square
#40945D #404D94 #944077 #948740
split-complementary
#40945D #874094 #94404D
monochromatic
#1B3F27 #2E6942 #40945D #5AB87A #84CA9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40945D#FFFFFF#000000##000000
##40945D1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948959
Deuteranopia (green-blind)
#898160
Tritanopia (blue-blind)
#299286
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #40945d;
/* rgb */ color: rgb(64, 148, 93);
/* oklch */ color: oklch(60.0% 0.117 152.5);
Tailwind
colors: {
  custom: {
    50: '#7cb48b',
    500: '#40945d',
    950: '#000000',
  },
}
SCSS
$custom: #40945d;
$custom-light: #7cb48b;
$custom-dark: #000000;
JSON
{
  "hex": "#40945d",
  "rgb": {
    "r": 64,
    "g": 148,
    "b": 93
  },
  "hsl": {
    "h": 140.714,
    "s": 39.623,
    "l": 41.569
  },
  "oklch": {
    "l": 0.59997,
    "c": 0.1173,
    "h": 152.5
  },
  "luminance": 0.2306
}

Semantic roles & 50–950 ramp

primary
#40945D
secondary
#B47BA1
accent
#58A6D0
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #40945D

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

Preview Lab → · Contrast checker → · Palette generator →

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