#282408#282408

#282408 is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.8% C 0.044 H 101.2°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#282408
RGBrgb(40, 36, 8)
HSLhsl(53, 67%, 9%)
HSVhsv(53, 80%, 16%)
CMYKcmyk(0%, 10%, 80%, 84.3%)
CIE-LABlab(14.00, -2.54, 17.25)
CIE-LCHlch(14.00, 17.44, 98.37°)
OKLaboklab(25.78% -0.0085 0.043)
OKLCHoklch(25.78% 0.044 101.2)
XYZxyz(1.5498, 1.7305, 0.4821)
Luminance0.0173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282408 #080C28
analogous
#281408 #282408 #1C2808
triadic
#282408 #082824 #240828
tetradic
#282408 #082814 #080C28 #28081C
square
#282408 #082814 #080C28 #28081C
split-complementary
#282408 #081C28 #140828
monochromatic
#1A1705 #1A1705 #282408 #5B5212 #8E801C

Accessibility & contrast

On white

15.60
#282408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#282408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282408
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282408#FFFFFF#000000##FFFFFF
##2824081.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282305
Deuteranopia (green-blind)
#292409
Tritanopia (blue-blind)
#2C211E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #282408;
/* rgb */ color: rgb(40, 36, 8);
/* oklch */ color: oklch(25.8% 0.044 101.2);
Tailwind
colors: {
  custom: {
    50: '#635e4a',
    500: '#282408',
    950: '#000000',
  },
}
SCSS
$custom: #282408;
$custom-light: #635e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#282408",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 8
  },
  "hsl": {
    "h": 52.5,
    "s": 66.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25779,
    "c": 0.04379,
    "h": 101.2
  },
  "luminance": 0.0173
}

Semantic roles & 50–950 ramp

primary
#282408
secondary
#252D67
accent
#54EA3E
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050401
muted
#797977

Preview Lab

Preview with #282408

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

Preview Lab → · Contrast checker → · Palette generator →

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