#40894E#40894E

#40894E is a mid, moderate green. Relative luminance 0.195; OKLCH L 56.8% C 0.116 H 148.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#40894E
RGBrgb(64, 137, 78)
HSLhsl(132, 36%, 39%)
HSVhsv(132, 53%, 54%)
CMYKcmyk(53.3%, 0%, 43.1%, 46.3%)
CIE-LABlab(51.30, -36.27, 24.85)
CIE-LCHlch(51.30, 43.97, 145.59°)
OKLaboklab(56.78% -0.0984 0.0614)
OKLCHoklch(56.78% 0.116 148)
XYZxyz(12.4344, 19.5304, 10.3207)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40894E #89407B
analogous
#578940 #40894E #408973
triadic
#40894E #4E4089 #894E40
tetradic
#40894E #405789 #89407B #897340
square
#40894E #405789 #89407B #897340
split-complementary
#40894E #734089 #894057
monochromatic
#19361F #2D5F36 #40894E #56B067 #80C48D

Accessibility & contrast

On white

4.28
#40894E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#40894E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40894E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40894E#FFFFFF#000000##000000
##40894E1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7E4A
Deuteranopia (green-blind)
#807852
Tritanopia (blue-blind)
#32867B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #40894e;
/* rgb */ color: rgb(64, 137, 78);
/* oklch */ color: oklch(56.8% 0.116 148.0);
Tailwind
colors: {
  custom: {
    50: '#7bac80',
    500: '#40894e',
    950: '#000000',
  },
}
SCSS
$custom: #40894e;
$custom-light: #7bac80;
$custom-dark: #000000;
JSON
{
  "hex": "#40894e",
  "rgb": {
    "r": 64,
    "g": 137,
    "b": 78
  },
  "hsl": {
    "h": 131.507,
    "s": 36.318,
    "l": 39.412
  },
  "oklch": {
    "l": 0.56775,
    "c": 0.11592,
    "h": 148
  },
  "luminance": 0.19531
}

Semantic roles & 50–950 ramp

primary
#40894E
secondary
#AE77A3
accent
#5BB7CC
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#0A100A
muted
#7C7F7C

Preview Lab

Preview with #40894E

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

Preview Lab → · Contrast checker → · Palette generator →

#40894E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva