#40844D#40844D

#40844D is a mid, moderate green. Relative luminance 0.181; OKLCH L 55.4% C 0.109 H 148.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#40844D
RGBrgb(64, 132, 77)
HSLhsl(131, 35%, 38%)
HSVhsv(131, 52%, 52%)
CMYKcmyk(51.5%, 0%, 41.7%, 48.2%)
CIE-LABlab(49.65, -34.22, 23.25)
CIE-LCHlch(49.65, 41.37, 145.81°)
OKLaboklab(55.42% -0.0929 0.0576)
OKLCHoklch(55.42% 0.109 148.2)
XYZxyz(11.7044, 18.1274, 9.9019)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40844D #844077
analogous
#558440 #40844D #40846F
triadic
#40844D #4D4084 #844D40
tetradic
#40844D #405584 #844077 #846F40
square
#40844D #405584 #844077 #846F40
split-complementary
#40844D #6F4084 #844055
monochromatic
#18321D #2C5B35 #40844D #55AC66 #7EC08B

Accessibility & contrast

On white

4.54
#40844D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#40844D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40844D
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40844D#FFFFFF#000000##000000
##40844D1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#857A49
Deuteranopia (green-blind)
#7C7450
Tritanopia (blue-blind)
#338276
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #40844d;
/* rgb */ color: rgb(64, 132, 77);
/* oklch */ color: oklch(55.4% 0.109 148.2);
Tailwind
colors: {
  custom: {
    50: '#7aa87f',
    500: '#40844d',
    950: '#000000',
  },
}
SCSS
$custom: #40844d;
$custom-light: #7aa87f;
$custom-dark: #000000;
JSON
{
  "hex": "#40844d",
  "rgb": {
    "r": 64,
    "g": 132,
    "b": 77
  },
  "hsl": {
    "h": 131.471,
    "s": 34.694,
    "l": 38.431
  },
  "oklch": {
    "l": 0.55418,
    "c": 0.10928,
    "h": 148.2
  },
  "luminance": 0.18128
}

Semantic roles & 50–950 ramp

primary
#40844D
secondary
#AB75A1
accent
#5DB6CB
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #40844D

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

Preview Lab → · Contrast checker → · Palette generator →

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