#28372D#28372D

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

Color values

HEX#28372D
RGBrgb(40, 55, 45)
HSLhsl(140, 16%, 19%)
HSVhsv(140, 27%, 22%)
CMYKcmyk(27.3%, 0%, 18.2%, 78.4%)
CIE-LABlab(21.48, -8.71, 4.28)
CIE-LCHlch(21.48, 9.70, 153.83°)
OKLaboklab(31.99% -0.0242 0.0111)
OKLCHoklch(31.99% 0.027 155.4)
XYZxyz(2.7148, 3.3729, 2.9901)
Luminance0.0337 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28372D #372832
analogous
#2A3728 #28372D #283734
triadic
#28372D #2D2837 #372D28
tetradic
#28372D #282A37 #372832 #373428
square
#28372D #282A37 #372832 #373428
split-complementary
#28372D #342837 #37282A
monochromatic
#0D120E #0E1410 #28372D #425A4A #5C7E67

Accessibility & contrast

On white

12.54
#28372D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#28372D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28372D
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28372D#FFFFFF#000000##FFFFFF
##28372D1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28372d;
/* rgb */ color: rgb(40, 55, 45);
/* oklch */ color: oklch(32.0% 0.027 155.4);
Tailwind
colors: {
  custom: {
    50: '#626d65',
    500: '#28372d',
    950: '#000000',
  },
}
SCSS
$custom: #28372d;
$custom-light: #626d65;
$custom-dark: #000000;
JSON
{
  "hex": "#28372d",
  "rgb": {
    "r": 40,
    "g": 55,
    "b": 45
  },
  "hsl": {
    "h": 140,
    "s": 15.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.31994,
    "c": 0.0266,
    "h": 155.4
  },
  "luminance": 0.03373
}

Semantic roles & 50–950 ramp

primary
#28372D
secondary
#685361
accent
#6FA0B9
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050705
muted
#797A7A

Preview Lab

Preview with #28372D

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

Preview Lab → · Contrast checker → · Palette generator →

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