#282918#282918

#282918 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.5% C 0.029 H 111.0°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#282918
RGBrgb(40, 41, 24)
HSLhsl(64, 26%, 13%)
HSVhsv(64, 41%, 16%)
CMYKcmyk(2.4%, 0%, 41.5%, 83.9%)
CIE-LABlab(16.02, -3.93, 11.03)
CIE-LCHlch(16.02, 11.71, 109.61°)
OKLaboklab(27.46% -0.0105 0.0273)
OKLCHoklch(27.46% 0.029 111)
XYZxyz(1.8329, 2.1030, 1.1733)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282918 #191829
analogous
#292118 #282918 #1F2918
triadic
#282918 #182829 #291828
tetradic
#282918 #182921 #191829 #29181F
square
#282918 #182921 #191829 #29181F
split-complementary
#282918 #181F29 #211829
monochromatic
#13130B #13130B #282918 #4E502F #737645

Accessibility & contrast

On white

14.78
#282918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#282918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282918
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282918#FFFFFF#000000##FFFFFF
##2829181.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2817
Deuteranopia (green-blind)
#2C2819
Tritanopia (blue-blind)
#2A2725
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #282918;
/* rgb */ color: rgb(40, 41, 24);
/* oklch */ color: oklch(27.5% 0.029 111.0);
Tailwind
colors: {
  custom: {
    50: '#626255',
    500: '#282918',
    950: '#000000',
  },
}
SCSS
$custom: #282918;
$custom-light: #626255;
$custom-dark: #000000;
JSON
{
  "hex": "#282918",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 24
  },
  "hsl": {
    "h": 63.529,
    "s": 26.154,
    "l": 12.745
  },
  "oklch": {
    "l": 0.27464,
    "c": 0.02927,
    "h": 111
  },
  "luminance": 0.02103
}

Semantic roles & 50–950 ramp

primary
#282918
secondary
#42405D
accent
#65C36B
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050503
muted
#797978

Preview Lab

Preview with #282918

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

Preview Lab → · Contrast checker → · Palette generator →

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