#282104#282104

#282104 is a very dark, muted yellow. Relative luminance 0.015; OKLCH L 24.9% C 0.046 H 95.7°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#282104
RGBrgb(40, 33, 4)
HSLhsl(48, 82%, 9%)
HSVhsv(48, 90%, 16%)
CMYKcmyk(0%, 17.5%, 90%, 84.3%)
CIE-LABlab(12.91, -0.86, 17.43)
CIE-LCHlch(12.91, 17.45, 92.82°)
OKLaboklab(24.89% -0.0045 0.0455)
OKLCHoklch(24.89% 0.046 95.7)
XYZxyz(1.4409, 1.5477, 0.3377)
Luminance0.0155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282104 #040B28
analogous
#280F04 #282104 #1D2804
triadic
#282104 #042821 #210428
tetradic
#282104 #04280F #040B28 #28041D
square
#282104 #04280F #040B28 #28041D
split-complementary
#282104 #041D28 #0F0428
monochromatic
#1C1703 #1C1703 #282104 #604F0A #977D0F

Accessibility & contrast

On white

16.04
#282104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#282104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282104
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282104#FFFFFF#000000##FFFFFF
##2821041.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262002
Deuteranopia (green-blind)
#272205
Tritanopia (blue-blind)
#2C1E1B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #282104;
/* rgb */ color: rgb(40, 33, 4);
/* oklch */ color: oklch(24.9% 0.046 95.7);
Tailwind
colors: {
  custom: {
    50: '#635c48',
    500: '#282104',
    950: '#000000',
  },
}
SCSS
$custom: #282104;
$custom-light: #635c48;
$custom-dark: #000000;
JSON
{
  "hex": "#282104",
  "rgb": {
    "r": 40,
    "g": 33,
    "b": 4
  },
  "hsl": {
    "h": 48.333,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.24893,
    "c": 0.04571,
    "h": 95.7
  },
  "luminance": 0.01548
}

Semantic roles & 50–950 ramp

primary
#282104
secondary
#1D2C6B
accent
#57F830
background
#F5F5F4
surface
#EAE9E6
border
#C6C5C2
text
#050400
muted
#797977

Preview Lab

Preview with #282104

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

Preview Lab → · Contrast checker → · Palette generator →

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