#40583A#40583A

#40583A is a dark, muted green. Relative luminance 0.084; OKLCH L 43.2% C 0.056 H 139.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#40583A
RGBrgb(64, 88, 58)
HSLhsl(108, 21%, 29%)
HSVhsv(108, 34%, 35%)
CMYKcmyk(27.3%, 0%, 34.1%, 65.5%)
CIE-LABlab(34.75, -15.68, 14.56)
CIE-LCHlch(34.75, 21.40, 137.14°)
OKLaboklab(43.2% -0.0427 0.0366)
OKLCHoklch(43.2% 0.056 139.5)
XYZxyz(6.3676, 8.3747, 5.2832)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40583A #523A58
analogous
#4F583A #40583A #3A5843
triadic
#40583A #3A4058 #583A40
tetradic
#40583A #3A4F58 #523A58 #58433A
square
#40583A #3A4F58 #523A58 #58433A
split-complementary
#40583A #433A58 #583A4F
monochromatic
#0D120C #253322 #40583A #5B7D52 #779F6D

Accessibility & contrast

On white

7.85
#40583A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#40583A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40583A
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40583A#FFFFFF#000000##FFFFFF
##40583A1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5338
Deuteranopia (green-blind)
#56513C
Tritanopia (blue-blind)
#3F5650
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #40583a;
/* rgb */ color: rgb(64, 88, 58);
/* oklch */ color: oklch(43.2% 0.056 139.5);
Tailwind
colors: {
  custom: {
    50: '#758770',
    500: '#40583a',
    950: '#000000',
  },
}
SCSS
$custom: #40583a;
$custom-light: #758770;
$custom-dark: #000000;
JSON
{
  "hex": "#40583a",
  "rgb": {
    "r": 64,
    "g": 88,
    "b": 58
  },
  "hsl": {
    "h": 108,
    "s": 20.548,
    "l": 28.627
  },
  "oklch": {
    "l": 0.43198,
    "c": 0.05624,
    "h": 139.5
  },
  "luminance": 0.08375
}

Semantic roles & 50–950 ramp

primary
#40583A
secondary
#816688
accent
#6BBDAD
background
#F7F8F6
surface
#EDEFEC
border
#C8CAC7
text
#080B07
muted
#7B7C7A

Preview Lab

Preview with #40583A

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

Preview Lab → · Contrast checker → · Palette generator →

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