#282812#282812

#282812 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.1% C 0.037 H 108.6°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#282812
RGBrgb(40, 40, 18)
HSLhsl(60, 38%, 11%)
HSVhsv(60, 55%, 16%)
CMYKcmyk(0%, 0%, 55%, 84.3%)
CIE-LABlab(15.55, -4.15, 14.39)
CIE-LCHlch(15.55, 14.97, 106.07°)
OKLaboklab(27.06% -0.0117 0.0347)
OKLCHoklch(27.06% 0.037 108.6)
XYZxyz(1.7431, 2.0124, 0.8688)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282812 #121228
analogous
#281D12 #282812 #1D2812
triadic
#282812 #122828 #281228
tetradic
#282812 #12281D #121228 #28121D
square
#282812 #12281D #121228 #28121D
split-complementary
#282812 #121D28 #1D1228
monochromatic
#151509 #151509 #282812 #525225 #7C7C38

Accessibility & contrast

On white

14.97
#282812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#282812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282812
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282812#FFFFFF#000000##FFFFFF
##2828121.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2610
Deuteranopia (green-blind)
#2C2713
Tritanopia (blue-blind)
#2B2623
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #282812;
/* rgb */ color: rgb(40, 40, 18);
/* oklch */ color: oklch(27.1% 0.037 108.6);
Tailwind
colors: {
  custom: {
    50: '#626150',
    500: '#282812',
    950: '#000000',
  },
}
SCSS
$custom: #282812;
$custom-light: #626150;
$custom-dark: #000000;
JSON
{
  "hex": "#282812",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 18
  },
  "hsl": {
    "h": 60,
    "s": 37.931,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27056,
    "c": 0.03663,
    "h": 108.6
  },
  "luminance": 0.02012
}

Semantic roles & 50–950 ramp

primary
#282812
secondary
#37375F
accent
#5ACE5A
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050502
muted
#797978

Preview Lab

Preview with #282812

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

Preview Lab → · Contrast checker → · Palette generator →

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