#282004#282004

#282004 is a very dark, muted yellow. Relative luminance 0.015; OKLCH L 24.6% C 0.045 H 93.2°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#282004
RGBrgb(40, 32, 4)
HSLhsl(47, 82%, 9%)
HSVhsv(47, 90%, 16%)
CMYKcmyk(0%, 20%, 90%, 84.3%)
CIE-LABlab(12.56, -0.16, 16.96)
CIE-LCHlch(12.56, 16.96, 90.53°)
OKLaboklab(24.62% -0.0025 0.0448)
OKLCHoklch(24.62% 0.045 93.2)
XYZxyz(1.4136, 1.4930, 0.3286)
Luminance0.0149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282004 #040C28
analogous
#280E04 #282004 #1E2804
triadic
#282004 #042820 #200428
tetradic
#282004 #04280E #040C28 #28041E
square
#282004 #04280E #040C28 #28041E
split-complementary
#282004 #041E28 #0E0428
monochromatic
#1C1603 #1C1603 #282004 #604D0A #97790F

Accessibility & contrast

On white

16.17
#282004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#282004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282004
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282004#FFFFFF#000000##FFFFFF
##2820041.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#251F02
Deuteranopia (green-blind)
#272205
Tritanopia (blue-blind)
#2C1D1A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #282004;
/* rgb */ color: rgb(40, 32, 4);
/* oklch */ color: oklch(24.6% 0.045 93.2);
Tailwind
colors: {
  custom: {
    50: '#635b48',
    500: '#282004',
    950: '#000000',
  },
}
SCSS
$custom: #282004;
$custom-light: #635b48;
$custom-dark: #000000;
JSON
{
  "hex": "#282004",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 4
  },
  "hsl": {
    "h": 46.667,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.24621,
    "c": 0.04486,
    "h": 93.2
  },
  "luminance": 0.01493
}

Semantic roles & 50–950 ramp

primary
#282004
secondary
#1D2E6B
accent
#5CF830
background
#F5F5F4
surface
#EAE9E6
border
#C6C5C2
text
#050400
muted
#797977

Preview Lab

Preview with #282004

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

Preview Lab → · Contrast checker → · Palette generator →

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