#40905C#40905C

#40905C is a mid, moderate green. Relative luminance 0.218; OKLCH L 58.9% C 0.112 H 152.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#40905C
RGBrgb(64, 144, 92)
HSLhsl(141, 38%, 41%)
HSVhsv(141, 56%, 56%)
CMYKcmyk(55.6%, 0%, 36.1%, 43.5%)
CIE-LABlab(53.82, -36.79, 20.42)
CIE-LCHlch(53.82, 42.08, 150.96°)
OKLaboklab(58.92% -0.0999 0.0513)
OKLCHoklch(58.92% 0.112 152.8)
XYZxyz(14.0183, 21.8080, 13.5938)
Luminance0.2181 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40905C #904074
analogous
#4C9040 #40905C #409084
triadic
#40905C #5C4090 #905C40
tetradic
#40905C #404C90 #904074 #908440
square
#40905C #404C90 #904074 #908440
split-complementary
#40905C #844090 #90404C
monochromatic
#1A3B26 #2D6641 #40905C #58B579 #83C89B

Accessibility & contrast

On white

3.92
#40905C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#40905C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40905C
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40905C#FFFFFF#000000##000000
##40905C1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908559
Deuteranopia (green-blind)
#857E5F
Tritanopia (blue-blind)
#2B8E83
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #40905c;
/* rgb */ color: rgb(64, 144, 92);
/* oklch */ color: oklch(58.9% 0.112 152.8);
Tailwind
colors: {
  custom: {
    50: '#7bb18a',
    500: '#40905c',
    950: '#000000',
  },
}
SCSS
$custom: #40905c;
$custom-light: #7bb18a;
$custom-dark: #000000;
JSON
{
  "hex": "#40905c",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 92
  },
  "hsl": {
    "h": 141,
    "s": 38.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.58919,
    "c": 0.1123,
    "h": 152.8
  },
  "luminance": 0.21809
}

Semantic roles & 50–950 ramp

primary
#40905C
secondary
#B27A9E
accent
#59A5CE
background
#F7FAF8
surface
#EEF5F0
border
#C9CFCB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #40905C

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

Preview Lab → · Contrast checker → · Palette generator →

#40905C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva