#282A1C#282A1C

#282A1C is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.8% C 0.025 H 114.6°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#282A1C
RGBrgb(40, 42, 28)
HSLhsl(69, 20%, 14%)
HSVhsv(69, 33%, 16%)
CMYKcmyk(4.8%, 0%, 33.3%, 83.5%)
CIE-LABlab(16.46, -3.91, 8.88)
CIE-LCHlch(16.46, 9.70, 113.77°)
OKLaboklab(27.84% -0.0102 0.0224)
OKLCHoklch(27.84% 0.025 114.6)
XYZxyz(1.9126, 2.1909, 1.4205)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A1C #1E1C2A
analogous
#2A251C #282A1C #212A1C
triadic
#282A1C #1C282A #2A1C28
tetradic
#282A1C #1C2A25 #1E1C2A #2A1C21
square
#282A1C #1C2A25 #1E1C2A #2A1C21
split-complementary
#282A1C #1C212A #251C2A
monochromatic
#11120C #11120C #282A1C #4B4F34 #6E734D

Accessibility & contrast

On white

14.60
#282A1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#282A1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A1C
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A1C#FFFFFF#000000##FFFFFF
##282A1C1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C291B
Deuteranopia (green-blind)
#2C291D
Tritanopia (blue-blind)
#2A2826
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #282a1c;
/* rgb */ color: rgb(40, 42, 28);
/* oklch */ color: oklch(27.8% 0.025 114.6);
Tailwind
colors: {
  custom: {
    50: '#626358',
    500: '#282a1c',
    950: '#000000',
  },
}
SCSS
$custom: #282a1c;
$custom-light: #626358;
$custom-dark: #000000;
JSON
{
  "hex": "#282a1c",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 28
  },
  "hsl": {
    "h": 68.571,
    "s": 20,
    "l": 13.725
  },
  "oklch": {
    "l": 0.27843,
    "c": 0.0246,
    "h": 114.6
  },
  "luminance": 0.02191
}

Semantic roles & 50–950 ramp

primary
#282A1C
secondary
#49465C
accent
#6BBD77
background
#F5F5F5
surface
#EAEAE9
border
#C6C6C5
text
#050503
muted
#797978

Preview Lab

Preview with #282A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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