#40945F#40945F

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

Color values

HEX#40945F
RGBrgb(64, 148, 95)
HSLhsl(142, 40%, 42%)
HSVhsv(142, 57%, 58%)
CMYKcmyk(56.8%, 0%, 35.8%, 42%)
CIE-LABlab(55.17, -37.96, 20.56)
CIE-LCHlch(55.17, 43.17, 151.55°)
OKLaboklab(60.04% -0.1031 0.0516)
OKLCHoklch(60.04% 0.115 153.4)
XYZxyz(14.7687, 23.0947, 14.5037)
Luminance0.2310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40945F #944075
analogous
#4B9440 #40945F #409489
triadic
#40945F #5F4094 #945F40
tetradic
#40945F #404B94 #944075 #948940
square
#40945F #404B94 #944075 #948940
split-complementary
#40945F #894094 #94404B
monochromatic
#1B3F28 #2E6944 #40945F #5AB87C #84CA9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40945F#FFFFFF#000000##000000
##40945F1.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)
#94895C
Deuteranopia (green-blind)
#888162
Tritanopia (blue-blind)
#289286
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #40945f;
/* rgb */ color: rgb(64, 148, 95);
/* oklch */ color: oklch(60.0% 0.115 153.4);
Tailwind
colors: {
  custom: {
    50: '#7cb48d',
    500: '#40945f',
    950: '#000000',
  },
}
SCSS
$custom: #40945f;
$custom-light: #7cb48d;
$custom-dark: #000000;
JSON
{
  "hex": "#40945f",
  "rgb": {
    "r": 64,
    "g": 148,
    "b": 95
  },
  "hsl": {
    "h": 142.143,
    "s": 39.623,
    "l": 41.569
  },
  "oklch": {
    "l": 0.60039,
    "c": 0.11531,
    "h": 153.4
  },
  "luminance": 0.23096
}

Semantic roles & 50–950 ramp

primary
#40945F
secondary
#B47B9F
accent
#58A4D0
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #40945F

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

Preview Lab → · Contrast checker → · Palette generator →

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