#40955A#40955A

#40955A is a mid, vivid green. Relative luminance 0.233; OKLCH L 60.2% C 0.122 H 151.1°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#40955A
RGBrgb(64, 149, 90)
HSLhsl(138, 40%, 42%)
HSVhsv(138, 57%, 58%)
CMYKcmyk(57%, 0%, 39.6%, 41.6%)
CIE-LABlab(55.40, -39.34, 23.63)
CIE-LCHlch(55.40, 45.89, 149.01°)
OKLaboklab(60.2% -0.1066 0.0588)
OKLCHoklch(60.2% 0.122 151.1)
XYZxyz(14.7062, 23.3217, 13.3974)
Luminance0.2332 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40955A #95407B
analogous
#519540 #40955A #409585
triadic
#40955A #5A4095 #955A40
tetradic
#40955A #405195 #95407B #958540
square
#40955A #405195 #95407B #958540
split-complementary
#40955A #854095 #954051
monochromatic
#1B3F26 #2E6A40 #40955A #5AB877 #85CB9A

Accessibility & contrast

On white

3.71
#40955A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#40955A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40955A
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40955A#FFFFFF#000000##000000
##40955A1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968A56
Deuteranopia (green-blind)
#8A815E
Tritanopia (blue-blind)
#2A9386
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #40955a;
/* rgb */ color: rgb(64, 149, 90);
/* oklch */ color: oklch(60.2% 0.122 151.1);
Tailwind
colors: {
  custom: {
    50: '#7cb589',
    500: '#40955a',
    950: '#000000',
  },
}
SCSS
$custom: #40955a;
$custom-light: #7cb589;
$custom-dark: #000000;
JSON
{
  "hex": "#40955a",
  "rgb": {
    "r": 64,
    "g": 149,
    "b": 90
  },
  "hsl": {
    "h": 138.353,
    "s": 39.906,
    "l": 41.765
  },
  "oklch": {
    "l": 0.602,
    "c": 0.12178,
    "h": 151.1
  },
  "luminance": 0.23323
}

Semantic roles & 50–950 ramp

primary
#40955A
secondary
#B57CA4
accent
#58ABD0
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110B
muted
#7C807C

Preview Lab

Preview with #40955A

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

Preview Lab → · Contrast checker → · Palette generator →

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