#40905F#40905F

#40905F is a mid, moderate green. Relative luminance 0.219; OKLCH L 59.0% C 0.109 H 154.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#40905F
RGBrgb(64, 144, 95)
HSLhsl(143, 38%, 41%)
HSVhsv(143, 56%, 56%)
CMYKcmyk(55.6%, 0%, 34%, 43.5%)
CIE-LABlab(53.88, -36.19, 18.83)
CIE-LCHlch(53.88, 40.80, 152.52°)
OKLaboklab(58.98% -0.0985 0.0474)
OKLCHoklch(58.98% 0.109 154.3)
XYZxyz(14.1521, 21.8615, 14.2982)
Luminance0.2186 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40905F #904071
analogous
#499040 #40905F #409087
triadic
#40905F #5F4090 #905F40
tetradic
#40905F #404990 #904071 #908740
square
#40905F #404990 #904071 #908740
split-complementary
#40905F #874090 #904049
monochromatic
#1A3B27 #2D6643 #40905F #58B57C #83C89D

Accessibility & contrast

On white

3.91
#40905F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#40905F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40905F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40905F#FFFFFF#000000##000000
##40905F1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90865C
Deuteranopia (green-blind)
#857E62
Tritanopia (blue-blind)
#298E83
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #40905f;
/* rgb */ color: rgb(64, 144, 95);
/* oklch */ color: oklch(59.0% 0.109 154.3);
Tailwind
colors: {
  custom: {
    50: '#7bb18c',
    500: '#40905f',
    950: '#000000',
  },
}
SCSS
$custom: #40905f;
$custom-light: #7bb18c;
$custom-dark: #000000;
JSON
{
  "hex": "#40905f",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 95
  },
  "hsl": {
    "h": 143.25,
    "s": 38.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.58984,
    "c": 0.10931,
    "h": 154.3
  },
  "luminance": 0.21863
}

Semantic roles & 50–950 ramp

primary
#40905F
secondary
#B27A9C
accent
#59A1CE
background
#F7FAF8
surface
#EEF5F0
border
#C9CFCB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #40905F

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

Preview Lab → · Contrast checker → · Palette generator →

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