#28362B#28362B

#28362B is a dark, muted green. Relative luminance 0.033; OKLCH L 31.6% C 0.027 H 151.1°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#28362B
RGBrgb(40, 54, 43)
HSLhsl(133, 15%, 18%)
HSVhsv(133, 26%, 21%)
CMYKcmyk(25.9%, 0%, 20.4%, 78.8%)
CIE-LABlab(21.07, -8.55, 5.05)
CIE-LCHlch(21.07, 9.93, 149.45°)
OKLaboklab(31.65% -0.0236 0.013)
OKLCHoklch(31.65% 0.027 151.1)
XYZxyz(2.6302, 3.2638, 2.7764)
Luminance0.0326 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28362B #362833
analogous
#2C3628 #28362B #283632
triadic
#28362B #2B2836 #362B28
tetradic
#28362B #282C36 #362833 #363228
square
#28362B #282C36 #362833 #363228
split-complementary
#28362B #322836 #36282C
monochromatic
#0D120E #0E130F #28362B #425947 #5C7C63

Accessibility & contrast

On white

12.71
#28362B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#28362B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28362B
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28362B#FFFFFF#000000##FFFFFF
##28362B1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36342A
Deuteranopia (green-blind)
#34322C
Tritanopia (blue-blind)
#263533
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #28362b;
/* rgb */ color: rgb(40, 54, 43);
/* oklch */ color: oklch(31.6% 0.027 151.1);
Tailwind
colors: {
  custom: {
    50: '#626d64',
    500: '#28362b',
    950: '#000000',
  },
}
SCSS
$custom: #28362b;
$custom-light: #626d64;
$custom-dark: #000000;
JSON
{
  "hex": "#28362b",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 43
  },
  "hsl": {
    "h": 132.857,
    "s": 14.894,
    "l": 18.431
  },
  "oklch": {
    "l": 0.31649,
    "c": 0.02694,
    "h": 151.1
  },
  "luminance": 0.03264
}

Semantic roles & 50–950 ramp

primary
#28362B
secondary
#675362
accent
#70A8B8
background
#F5F6F5
surface
#EAEBEA
border
#C6C6C6
text
#050705
muted
#797A79

Preview Lab

Preview with #28362B

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

Preview Lab → · Contrast checker → · Palette generator →

#28362B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva