#282C20#282C20

#282C20 is a dark, muted yellow-green. Relative luminance 0.024; OKLCH L 28.5% C 0.022 H 122.8°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#282C20
RGBrgb(40, 44, 32)
HSLhsl(80, 16%, 15%)
HSVhsv(80, 27%, 17%)
CMYKcmyk(9.1%, 0%, 27.3%, 82.7%)
CIE-LABlab(17.26, -4.48, 7.22)
CIE-LCHlch(17.26, 8.50, 121.84°)
OKLaboklab(28.51% -0.0118 0.0184)
OKLCHoklch(28.51% 0.022 122.8)
XYZxyz(2.0364, 2.3568, 1.7138)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C20 #24202C
analogous
#2C2A20 #282C20 #222C20
triadic
#282C20 #20282C #2C2028
tetradic
#282C20 #202C2A #24202C #2C2022
square
#282C20 #202C2A #24202C #2C2022
split-complementary
#282C20 #20222C #2A202C
monochromatic
#10120D #10120D #282C20 #484F3A #687354

Accessibility & contrast

On white

14.27
#282C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#282C20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C20
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C20#FFFFFF#000000##FFFFFF
##282C201.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2B1F
Deuteranopia (green-blind)
#2D2A21
Tritanopia (blue-blind)
#292B29
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #282c20;
/* rgb */ color: rgb(40, 44, 32);
/* oklch */ color: oklch(28.5% 0.022 122.8);
Tailwind
colors: {
  custom: {
    50: '#62655b',
    500: '#282c20',
    950: '#000000',
  },
}
SCSS
$custom: #282c20;
$custom-light: #62655b;
$custom-dark: #000000;
JSON
{
  "hex": "#282c20",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 32
  },
  "hsl": {
    "h": 80,
    "s": 15.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2851,
    "c": 0.02187,
    "h": 122.8
  },
  "luminance": 0.02357
}

Semantic roles & 50–950 ramp

primary
#282C20
secondary
#514B5D
accent
#6FB988
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050504
muted
#797A79

Preview Lab

Preview with #282C20

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

Preview Lab → · Contrast checker → · Palette generator →

#282C20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva