#282C1E#282C1E

#282C1E is a dark, muted yellow-green. Relative luminance 0.023; OKLCH L 28.5% C 0.025 H 121.0°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#282C1E
RGBrgb(40, 44, 30)
HSLhsl(77, 19%, 15%)
HSVhsv(77, 32%, 17%)
CMYKcmyk(9.1%, 0%, 31.8%, 82.7%)
CIE-LABlab(17.21, -4.87, 8.52)
CIE-LCHlch(17.21, 9.82, 119.73°)
OKLaboklab(28.45% -0.0129 0.0216)
OKLCHoklch(28.45% 0.025 121)
XYZxyz(2.0101, 2.3462, 1.5750)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C1E #221E2C
analogous
#2C291E #282C1E #212C1E
triadic
#282C1E #1E282C #2C1E28
tetradic
#282C1E #1E2C29 #221E2C #2C1E21
square
#282C1E #1E2C29 #221E2C #2C1E21
split-complementary
#282C1E #1E212C #291E2C
monochromatic
#11120C #11120C #282C1E #495037 #6A7550

Accessibility & contrast

On white

14.29
#282C1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282C1E
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C1E#FFFFFF#000000##FFFFFF
##282C1E1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282c1e;
/* rgb */ color: rgb(40, 44, 30);
/* oklch */ color: oklch(28.5% 0.025 121.0);
Tailwind
colors: {
  custom: {
    50: '#626559',
    500: '#282c1e',
    950: '#000000',
  },
}
SCSS
$custom: #282c1e;
$custom-light: #626559;
$custom-dark: #000000;
JSON
{
  "hex": "#282c1e",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 30
  },
  "hsl": {
    "h": 77.143,
    "s": 18.919,
    "l": 14.51
  },
  "oklch": {
    "l": 0.28454,
    "c": 0.02513,
    "h": 121
  },
  "luminance": 0.02346
}

Semantic roles & 50–950 ramp

primary
#282C1E
secondary
#4E485E
accent
#6CBC83
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050503
muted
#797A78

Preview Lab

Preview with #282C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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