#40905D#40905D

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

Color values

HEX#40905D
RGBrgb(64, 144, 93)
HSLhsl(142, 38%, 41%)
HSVhsv(142, 56%, 56%)
CMYKcmyk(55.6%, 0%, 35.4%, 43.5%)
CIE-LABlab(53.84, -36.59, 19.89)
CIE-LCHlch(53.84, 41.65, 151.47°)
OKLaboklab(58.94% -0.0994 0.05)
OKLCHoklch(58.94% 0.111 153.3)
XYZxyz(14.0623, 21.8256, 13.8255)
Luminance0.2183 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40905D #904073
analogous
#4B9040 #40905D #409085
triadic
#40905D #5D4090 #905D40
tetradic
#40905D #404B90 #904073 #908540
square
#40905D #404B90 #904073 #908540
split-complementary
#40905D #854090 #90404B
monochromatic
#1A3B26 #2D6642 #40905D #58B57A #83C89C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40905D#FFFFFF#000000##000000
##40905D1.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)
#90855A
Deuteranopia (green-blind)
#857E60
Tritanopia (blue-blind)
#2A8E83
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #40905d;
/* rgb */ color: rgb(64, 144, 93);
/* oklch */ color: oklch(58.9% 0.111 153.3);
Tailwind
colors: {
  custom: {
    50: '#7bb18b',
    500: '#40905d',
    950: '#000000',
  },
}
SCSS
$custom: #40905d;
$custom-light: #7bb18b;
$custom-dark: #000000;
JSON
{
  "hex": "#40905d",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 93
  },
  "hsl": {
    "h": 141.75,
    "s": 38.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5894,
    "c": 0.11129,
    "h": 153.3
  },
  "luminance": 0.21827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40905D

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

Preview Lab → · Contrast checker → · Palette generator →

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