#282D0A#282D0A

#282D0A is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.4% C 0.054 H 116.9°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#282D0A
RGBrgb(40, 45, 10)
HSLhsl(69, 64%, 11%)
HSVhsv(69, 78%, 18%)
CMYKcmyk(11.1%, 0%, 77.8%, 82.4%)
CIE-LABlab(17.23, -8.27, 20.51)
CIE-LCHlch(17.23, 22.12, 111.96°)
OKLaboklab(28.36% -0.0244 0.0481)
OKLCHoklch(28.36% 0.054 116.9)
XYZxyz(1.8683, 2.3498, 0.6422)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D0A #0F0A2D
analogous
#2D200A #282D0A #162D0A
triadic
#282D0A #0A282D #2D0A28
tetradic
#282D0A #0A2D20 #0F0A2D #2D0A16
square
#282D0A #0A2D20 #0F0A2D #2D0A16
split-complementary
#282D0A #0A162D #200A2D
monochromatic
#161906 #161906 #282D0A #555F15 #819120

Accessibility & contrast

On white

14.29
#282D0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#282D0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D0A
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D0A#FFFFFF#000000##FFFFFF
##282D0A1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A06
Deuteranopia (green-blind)
#302B0C
Tritanopia (blue-blind)
#2B2A26
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #282d0a;
/* rgb */ color: rgb(40, 45, 10);
/* oklch */ color: oklch(28.4% 0.054 116.9);
Tailwind
colors: {
  custom: {
    50: '#63654b',
    500: '#282d0a',
    950: '#000000',
  },
}
SCSS
$custom: #282d0a;
$custom-light: #63654b;
$custom-dark: #000000;
JSON
{
  "hex": "#282d0a",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 10
  },
  "hsl": {
    "h": 68.571,
    "s": 63.636,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28358,
    "c": 0.05398,
    "h": 116.9
  },
  "luminance": 0.0235
}

Semantic roles & 50–950 ramp

primary
#282D0A
secondary
#32296A
accent
#41E759
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050501
muted
#797A77

Preview Lab

Preview with #282D0A

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

Preview Lab → · Contrast checker → · Palette generator →

#282D0A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva