#28382A#28382A

#28382A is a dark, muted green. Relative luminance 0.034; OKLCH L 32.2% C 0.032 H 148.1°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#28382A
RGBrgb(40, 56, 42)
HSLhsl(128, 17%, 19%)
HSVhsv(128, 29%, 22%)
CMYKcmyk(28.6%, 0%, 25%, 78%)
CIE-LABlab(21.75, -10.02, 6.67)
CIE-LCHlch(21.75, 12.04, 146.34°)
OKLaboklab(32.18% -0.0275 0.0171)
OKLCHoklch(32.18% 0.032 148.1)
XYZxyz(2.7070, 3.4465, 2.7127)
Luminance0.0345 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28382A #382836
analogous
#2E3828 #28382A #283832
triadic
#28382A #2A2838 #382A28
tetradic
#28382A #282E38 #382836 #383228
square
#28382A #282E38 #382836 #383228
split-complementary
#28382A #322838 #38282E
monochromatic
#0D120D #0F140F #28382A #425C45 #5B7F60

Accessibility & contrast

On white

12.43
#28382A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28382A
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28382A#FFFFFF#000000##FFFFFF
##28382A1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383529
Deuteranopia (green-blind)
#36332B
Tritanopia (blue-blind)
#263734
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #28382a;
/* rgb */ color: rgb(40, 56, 42);
/* oklch */ color: oklch(32.2% 0.032 148.1);
Tailwind
colors: {
  custom: {
    50: '#626e63',
    500: '#28382a',
    950: '#000000',
  },
}
SCSS
$custom: #28382a;
$custom-light: #626e63;
$custom-dark: #000000;
JSON
{
  "hex": "#28382a",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 42
  },
  "hsl": {
    "h": 127.5,
    "s": 16.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.32184,
    "c": 0.03238,
    "h": 148.1
  },
  "luminance": 0.03447
}

Semantic roles & 50–950 ramp

primary
#28382A
secondary
#695366
accent
#6EB0B9
background
#F5F6F5
surface
#EAECEA
border
#C6C7C6
text
#050705
muted
#797A79

Preview Lab

Preview with #28382A

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

Preview Lab → · Contrast checker → · Palette generator →

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