#40955F#40955F

#40955F is a mid, moderate green. Relative luminance 0.234; OKLCH L 60.3% C 0.117 H 153.2°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#40955F
RGBrgb(64, 149, 95)
HSLhsl(142, 40%, 42%)
HSVhsv(142, 57%, 58%)
CMYKcmyk(57%, 0%, 36.2%, 41.6%)
CIE-LABlab(55.49, -38.40, 21.00)
CIE-LCHlch(55.49, 43.76, 151.33°)
OKLaboklab(60.3% -0.1042 0.0527)
OKLCHoklch(60.3% 0.117 153.2)
XYZxyz(14.9262, 23.4098, 14.5562)
Luminance0.2341 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40955F #954076
analogous
#4C9540 #40955F #40958A
triadic
#40955F #5F4095 #955F40
tetradic
#40955F #404C95 #954076 #958A40
square
#40955F #404C95 #954076 #958A40
split-complementary
#40955F #8A4095 #95404C
monochromatic
#1B3F28 #2E6A44 #40955F #5AB87C #85CB9E

Accessibility & contrast

On white

3.70
#40955F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#40955F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40955F
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40955F#FFFFFF#000000##000000
##40955F1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958A5B
Deuteranopia (green-blind)
#898262
Tritanopia (blue-blind)
#289387
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #40955f;
/* rgb */ color: rgb(64, 149, 95);
/* oklch */ color: oklch(60.3% 0.117 153.2);
Tailwind
colors: {
  custom: {
    50: '#7cb58d',
    500: '#40955f',
    950: '#000000',
  },
}
SCSS
$custom: #40955f;
$custom-light: #7cb58d;
$custom-dark: #000000;
JSON
{
  "hex": "#40955f",
  "rgb": {
    "r": 64,
    "g": 149,
    "b": 95
  },
  "hsl": {
    "h": 141.882,
    "s": 39.906,
    "l": 41.765
  },
  "oklch": {
    "l": 0.60303,
    "c": 0.1168,
    "h": 153.2
  },
  "luminance": 0.23411
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40955F

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

Preview Lab → · Contrast checker → · Palette generator →

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