#28382E#28382E

#28382E is a dark, muted green. Relative luminance 0.035; OKLCH L 32.3% C 0.028 H 157.1°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#28382E
RGBrgb(40, 56, 46)
HSLhsl(143, 17%, 19%)
HSVhsv(143, 29%, 22%)
CMYKcmyk(28.6%, 0%, 17.9%, 78%)
CIE-LABlab(21.86, -9.09, 4.15)
CIE-LCHlch(21.86, 9.99, 155.48°)
OKLaboklab(32.31% -0.0253 0.0107)
OKLCHoklch(32.31% 0.028 157.1)
XYZxyz(2.7822, 3.4766, 3.1087)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28382E #382832
analogous
#2A3828 #28382E #283836
triadic
#28382E #2E2838 #382E28
tetradic
#28382E #282A38 #382832 #383628
square
#28382E #282A38 #382832 #383628
split-complementary
#28382E #362838 #38282A
monochromatic
#0D120F #0F1411 #28382E #425C4B #5B7F69

Accessibility & contrast

On white

12.39
#28382E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#28382E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28382E
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28382E#FFFFFF#000000##FFFFFF
##28382E1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28382e;
/* rgb */ color: rgb(40, 56, 46);
/* oklch */ color: oklch(32.3% 0.028 157.1);
Tailwind
colors: {
  custom: {
    50: '#626e66',
    500: '#28382e',
    950: '#000000',
  },
}
SCSS
$custom: #28382e;
$custom-light: #626e66;
$custom-dark: #000000;
JSON
{
  "hex": "#28382e",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 46
  },
  "hsl": {
    "h": 142.5,
    "s": 16.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.32308,
    "c": 0.0275,
    "h": 157.1
  },
  "luminance": 0.03477
}

Semantic roles & 50–950 ramp

primary
#28382E
secondary
#695361
accent
#6E9DB9
background
#F5F6F6
surface
#EAECEB
border
#C6C7C6
text
#050706
muted
#797A7A

Preview Lab

Preview with #28382E

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

Preview Lab → · Contrast checker → · Palette generator →

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