#28322B#28322B

#28322B is a dark, near-neutral green. Relative luminance 0.029; OKLCH L 30.5% C 0.018 H 154.6°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#28322B
RGBrgb(40, 50, 43)
HSLhsl(138, 11%, 18%)
HSVhsv(138, 20%, 20%)
CMYKcmyk(20%, 0%, 14%, 80.4%)
CIE-LABlab(19.67, -6.00, 3.05)
CIE-LCHlch(19.67, 6.73, 153.06°)
OKLaboklab(30.53% -0.0167 0.0079)
OKLCHoklch(30.53% 0.018 154.6)
XYZxyz(2.4516, 2.9067, 2.7169)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28322B #32282F
analogous
#2A3228 #28322B #283230
triadic
#28322B #2B2832 #322B28
tetradic
#28322B #282A32 #32282F #323028
square
#28322B #282A32 #32282F #323028
split-complementary
#28322B #302832 #32282A
monochromatic
#0E110F #0E110F #28322B #435448 #5E7665

Accessibility & contrast

On white

13.28
#28322B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#28322B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28322B
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28322B#FFFFFF#000000##FFFFFF
##28322B1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32302B
Deuteranopia (green-blind)
#302F2B
Tritanopia (blue-blind)
#273230
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #28322b;
/* rgb */ color: rgb(40, 50, 43);
/* oklch */ color: oklch(30.5% 0.018 154.6);
Tailwind
colors: {
  custom: {
    50: '#626964',
    500: '#28322b',
    950: '#000000',
  },
}
SCSS
$custom: #28322b;
$custom-light: #626964;
$custom-dark: #000000;
JSON
{
  "hex": "#28322b",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 43
  },
  "hsl": {
    "h": 138,
    "s": 11.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30527,
    "c": 0.01849,
    "h": 154.6
  },
  "luminance": 0.02907
}

Semantic roles & 50–950 ramp

primary
#28322B
secondary
#62545E
accent
#74A1B4
background
#F5F6F5
surface
#EAEBEA
border
#C6C6C6
text
#050605
muted
#797A79

Preview Lab

Preview with #28322B

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

Preview Lab → · Contrast checker → · Palette generator →

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