#282C1C#282C1C

#282C1C is a dark, muted yellow-green. Relative luminance 0.023; OKLCH L 28.4% C 0.028 H 119.6°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#282C1C
RGBrgb(40, 44, 28)
HSLhsl(75, 22%, 14%)
HSVhsv(75, 36%, 17%)
CMYKcmyk(9.1%, 0%, 36.4%, 82.7%)
CIE-LABlab(17.16, -5.24, 9.83)
CIE-LCHlch(17.16, 11.14, 118.06°)
OKLaboklab(28.4% -0.014 0.0246)
OKLCHoklch(28.4% 0.028 119.6)
XYZxyz(1.9853, 2.3363, 1.4447)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C1C #201C2C
analogous
#2C281C #282C1C #202C1C
triadic
#282C1C #1C282C #2C1C28
tetradic
#282C1C #1C2C28 #201C2C #2C1C20
square
#282C1C #1C2C28 #201C2C #2C1C20
split-complementary
#282C1C #1C202C #281C2C
monochromatic
#11130C #11130C #282C1C #4A5134 #6C774C

Accessibility & contrast

On white

14.31
#282C1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282C1C
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C1C#FFFFFF#000000##FFFFFF
##282C1C1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2A1B
Deuteranopia (green-blind)
#2E2A1D
Tritanopia (blue-blind)
#292A28
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #282c1c;
/* rgb */ color: rgb(40, 44, 28);
/* oklch */ color: oklch(28.4% 0.028 119.6);
Tailwind
colors: {
  custom: {
    50: '#626558',
    500: '#282c1c',
    950: '#000000',
  },
}
SCSS
$custom: #282c1c;
$custom-light: #626558;
$custom-dark: #000000;
JSON
{
  "hex": "#282c1c",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 28
  },
  "hsl": {
    "h": 75,
    "s": 22.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.28402,
    "c": 0.02833,
    "h": 119.6
  },
  "luminance": 0.02336
}

Semantic roles & 50–950 ramp

primary
#282C1C
secondary
#4C455F
accent
#69BF7E
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050503
muted
#797A78

Preview Lab

Preview with #282C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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