#325040#325040

#325040 is a dark, muted green. Relative luminance 0.068; OKLCH L 40.2% C 0.045 H 160.2°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#325040
RGBrgb(50, 80, 64)
HSLhsl(148, 23%, 25%)
HSVhsv(148, 38%, 31%)
CMYKcmyk(37.5%, 0%, 20%, 68.6%)
CIE-LABlab(31.31, -15.24, 5.93)
CIE-LCHlch(31.31, 16.35, 158.72°)
OKLaboklab(40.24% -0.0424 0.0153)
OKLCHoklch(40.24% 0.045 160.2)
XYZxyz(5.1091, 6.7853, 5.8900)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325040 #503242
analogous
#335032 #325040 #32504F
triadic
#325040 #403250 #504032
tetradic
#325040 #323350 #503242 #504F32
square
#325040 #323350 #503242 #504F32
split-complementary
#325040 #4F3250 #503233
monochromatic
#0C130F #1A2A22 #325040 #4A765E #619B7C

Accessibility & contrast

On white

8.91
#325040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#325040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #325040
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325040#FFFFFF#000000##FFFFFF
##3250401.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C3F
Deuteranopia (green-blind)
#4A4841
Tritanopia (blue-blind)
#2C504B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #325040;
/* rgb */ color: rgb(50, 80, 64);
/* oklch */ color: oklch(40.2% 0.045 160.2);
Tailwind
colors: {
  custom: {
    50: '#6b8174',
    500: '#325040',
    950: '#000000',
  },
}
SCSS
$custom: #325040;
$custom-light: #6b8174;
$custom-dark: #000000;
JSON
{
  "hex": "#325040",
  "rgb": {
    "r": 50,
    "g": 80,
    "b": 64
  },
  "hsl": {
    "h": 148,
    "s": 23.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.40239,
    "c": 0.04508,
    "h": 160.2
  },
  "luminance": 0.06786
}

Semantic roles & 50–950 ramp

primary
#325040
secondary
#815D70
accent
#6897C0
background
#F6F7F7
surface
#EBEEED
border
#C6C9C8
text
#070A08
muted
#7A7C7B

Preview Lab

Preview with #325040

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

Preview Lab → · Contrast checker → · Palette generator →

#325040 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva