#283828#283828

#283828 is a dark, muted green. Relative luminance 0.034; OKLCH L 32.1% C 0.035 H 144.7°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#283828
RGBrgb(40, 56, 40)
HSLhsl(120, 17%, 19%)
HSVhsv(120, 29%, 22%)
CMYKcmyk(28.6%, 0%, 28.6%, 78%)
CIE-LABlab(21.70, -10.46, 7.94)
CIE-LCHlch(21.70, 13.13, 142.82°)
OKLaboklab(32.13% -0.0286 0.0202)
OKLCHoklch(32.13% 0.035 144.7)
XYZxyz(2.6721, 3.4326, 2.5288)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283828 #382838
analogous
#303828 #283828 #283830
triadic
#283828 #282838 #382828
tetradic
#283828 #283038 #382838 #383028
square
#283828 #283038 #382838 #383028
split-complementary
#283828 #302838 #382830
monochromatic
#0D120D #0F140F #283828 #425C42 #5B7F5B

Accessibility & contrast

On white

12.45
#283828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#283828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283828
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283828#FFFFFF#000000##FFFFFF
##2838281.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393527
Deuteranopia (green-blind)
#363329
Tritanopia (blue-blind)
#263734
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #283828;
/* rgb */ color: rgb(40, 56, 40);
/* oklch */ color: oklch(32.1% 0.035 144.7);
Tailwind
colors: {
  custom: {
    50: '#626e62',
    500: '#283828',
    950: '#000000',
  },
}
SCSS
$custom: #283828;
$custom-light: #626e62;
$custom-dark: #000000;
JSON
{
  "hex": "#283828",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 16.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.32126,
    "c": 0.03502,
    "h": 144.7
  },
  "luminance": 0.03433
}

Semantic roles & 50–950 ramp

primary
#283828
secondary
#695369
accent
#6EB9B9
background
#F5F6F5
surface
#EAECEA
border
#C6C7C6
text
#050705
muted
#797A79

Preview Lab

Preview with #283828

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

Preview Lab → · Contrast checker → · Palette generator →

#283828 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva