#28382C#28382C

#28382C is a dark, muted green. Relative luminance 0.035; OKLCH L 32.2% C 0.030 H 152.2°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#28382C
RGBrgb(40, 56, 44)
HSLhsl(135, 17%, 19%)
HSVhsv(135, 29%, 22%)
CMYKcmyk(28.6%, 0%, 21.4%, 78%)
CIE-LABlab(21.80, -9.57, 5.41)
CIE-LCHlch(21.80, 10.99, 150.51°)
OKLaboklab(32.25% -0.0264 0.0139)
OKLCHoklch(32.25% 0.03 152.2)
XYZxyz(2.7437, 3.4612, 2.9059)
Luminance0.0346 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28382C #382834
analogous
#2C3828 #28382C #283834
triadic
#28382C #2C2838 #382C28
tetradic
#28382C #282C38 #382834 #383428
square
#28382C #282C38 #382834 #383428
split-complementary
#28382C #342838 #38282C
monochromatic
#0D120E #0F1410 #28382C #425C48 #5B7F64

Accessibility & contrast

On white

12.41
#28382C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#28382C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28382C
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28382C#FFFFFF#000000##FFFFFF
##28382C1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38352B
Deuteranopia (green-blind)
#35342D
Tritanopia (blue-blind)
#263735
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #28382c;
/* rgb */ color: rgb(40, 56, 44);
/* oklch */ color: oklch(32.2% 0.030 152.2);
Tailwind
colors: {
  custom: {
    50: '#626e65',
    500: '#28382c',
    950: '#000000',
  },
}
SCSS
$custom: #28382c;
$custom-light: #626e65;
$custom-dark: #000000;
JSON
{
  "hex": "#28382c",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 44
  },
  "hsl": {
    "h": 135,
    "s": 16.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.32245,
    "c": 0.02985,
    "h": 152.2
  },
  "luminance": 0.03461
}

Semantic roles & 50–950 ramp

primary
#28382C
secondary
#695363
accent
#6EA7B9
background
#F5F6F6
surface
#EAECEB
border
#C6C7C6
text
#050705
muted
#797A7A

Preview Lab

Preview with #28382C

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

Preview Lab → · Contrast checker → · Palette generator →

#28382C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva