#282C22#282C22

#282C22 is a dark, near-neutral yellow-green. Relative luminance 0.024; OKLCH L 28.6% C 0.019 H 125.3°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#282C22
RGBrgb(40, 44, 34)
HSLhsl(84, 13%, 15%)
HSVhsv(84, 23%, 17%)
CMYKcmyk(9.1%, 0%, 22.7%, 82.7%)
CIE-LABlab(17.31, -4.08, 5.91)
CIE-LCHlch(17.31, 7.18, 124.59°)
OKLaboklab(28.57% -0.0107 0.0152)
OKLCHoklch(28.57% 0.019 125.3)
XYZxyz(2.0644, 2.3680, 1.8614)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C22 #26222C
analogous
#2C2B22 #282C22 #232C22
triadic
#282C22 #22282C #2C2228
tetradic
#282C22 #222C2B #26222C #2C2223
square
#282C22 #222C2B #26222C #2C2223
split-complementary
#282C22 #22232C #2B222C
monochromatic
#10110D #10110D #282C22 #474F3D #677157

Accessibility & contrast

On white

14.25
#282C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282C22
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C22#FFFFFF#000000##FFFFFF
##282C221.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2B21
Deuteranopia (green-blind)
#2D2A22
Tritanopia (blue-blind)
#292B29
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #282c22;
/* rgb */ color: rgb(40, 44, 34);
/* oklch */ color: oklch(28.6% 0.019 125.3);
Tailwind
colors: {
  custom: {
    50: '#61655d',
    500: '#282c22',
    950: '#000000',
  },
}
SCSS
$custom: #282c22;
$custom-light: #61655d;
$custom-dark: #000000;
JSON
{
  "hex": "#282c22",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 34
  },
  "hsl": {
    "h": 84,
    "s": 12.821,
    "l": 15.294
  },
  "oklch": {
    "l": 0.28569,
    "c": 0.01859,
    "h": 125.3
  },
  "luminance": 0.02368
}

Semantic roles & 50–950 ramp

primary
#282C22
secondary
#534D5D
accent
#72B68D
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050504
muted
#797A79

Preview Lab

Preview with #282C22

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

Preview Lab → · Contrast checker → · Palette generator →

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