#282A16#282A16

#282A16 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.7% C 0.034 H 113.3°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#282A16
RGBrgb(40, 42, 22)
HSLhsl(66, 31%, 13%)
HSVhsv(66, 48%, 16%)
CMYKcmyk(4.8%, 0%, 47.6%, 83.5%)
CIE-LABlab(16.33, -4.91, 12.78)
CIE-LCHlch(16.33, 13.69, 111.01°)
OKLaboklab(27.7% -0.0135 0.0313)
OKLCHoklch(27.7% 0.034 113.3)
XYZxyz(1.8479, 2.1650, 1.0794)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A16 #18162A
analogous
#2A2216 #282A16 #1E2A16
triadic
#282A16 #16282A #2A1628
tetradic
#282A16 #162A22 #18162A #2A161E
square
#282A16 #162A22 #18162A #2A161E
split-complementary
#282A16 #161E2A #22162A
monochromatic
#13140B #13140B #282A16 #4E522B #747A40

Accessibility & contrast

On white

14.65
#282A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#282A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A16
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A16#FFFFFF#000000##FFFFFF
##282A161.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2814
Deuteranopia (green-blind)
#2D2917
Tritanopia (blue-blind)
#2A2825
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #282a16;
/* rgb */ color: rgb(40, 42, 22);
/* oklch */ color: oklch(27.7% 0.034 113.3);
Tailwind
colors: {
  custom: {
    50: '#626353',
    500: '#282a16',
    950: '#000000',
  },
}
SCSS
$custom: #282a16;
$custom-light: #626353;
$custom-dark: #000000;
JSON
{
  "hex": "#282a16",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 22
  },
  "hsl": {
    "h": 66,
    "s": 31.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.27699,
    "c": 0.03403,
    "h": 113.3
  },
  "luminance": 0.02165
}

Semantic roles & 50–950 ramp

primary
#282A16
secondary
#403D5F
accent
#60C76B
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050502
muted
#797978

Preview Lab

Preview with #282A16

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

Preview Lab → · Contrast checker → · Palette generator →

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