#28372E#28372E

#28372E is a dark, muted green. Relative luminance 0.034; OKLCH L 32.0% C 0.025 H 158.3°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#28372E
RGBrgb(40, 55, 46)
HSLhsl(144, 16%, 19%)
HSVhsv(144, 27%, 22%)
CMYKcmyk(27.3%, 0%, 16.4%, 78.4%)
CIE-LABlab(21.51, -8.47, 3.65)
CIE-LCHlch(21.51, 9.22, 156.70°)
OKLaboklab(32.03% -0.0237 0.0094)
OKLCHoklch(32.03% 0.025 158.3)
XYZxyz(2.7343, 3.3807, 3.0927)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28372E #372831
analogous
#293728 #28372E #283735
triadic
#28372E #2E2837 #372E28
tetradic
#28372E #282937 #372831 #373528
square
#28372E #282937 #372831 #373528
split-complementary
#28372E #352837 #372829
monochromatic
#0D120F #0E1410 #28372E #425A4C #5C7E69

Accessibility & contrast

On white

12.53
#28372E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#28372E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28372E
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28372E#FFFFFF#000000##FFFFFF
##28372E1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352E
Deuteranopia (green-blind)
#34332E
Tritanopia (blue-blind)
#253734
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #28372e;
/* rgb */ color: rgb(40, 55, 46);
/* oklch */ color: oklch(32.0% 0.025 158.3);
Tailwind
colors: {
  custom: {
    50: '#626d66',
    500: '#28372e',
    950: '#000000',
  },
}
SCSS
$custom: #28372e;
$custom-light: #626d66;
$custom-dark: #000000;
JSON
{
  "hex": "#28372e",
  "rgb": {
    "r": 40,
    "g": 55,
    "b": 46
  },
  "hsl": {
    "h": 144,
    "s": 15.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.32027,
    "c": 0.02547,
    "h": 158.3
  },
  "luminance": 0.03381
}

Semantic roles & 50–950 ramp

primary
#28372E
secondary
#68535F
accent
#6F9BB9
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050706
muted
#797A7A

Preview Lab

Preview with #28372E

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

Preview Lab → · Contrast checker → · Palette generator →

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