#282811#282811

#282811 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.0% C 0.038 H 108.7°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#282811
RGBrgb(40, 40, 17)
HSLhsl(60, 40%, 11%)
HSVhsv(60, 58%, 16%)
CMYKcmyk(0%, 0%, 57.5%, 84.3%)
CIE-LABlab(15.54, -4.28, 14.96)
CIE-LCHlch(15.54, 15.56, 105.95°)
OKLaboklab(27.04% -0.0122 0.036)
OKLCHoklch(27.04% 0.038 108.7)
XYZxyz(1.7351, 2.0092, 0.8266)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282811 #111128
analogous
#281C11 #282811 #1C2811
triadic
#282811 #112828 #281128
tetradic
#282811 #11281C #111128 #28111C
square
#282811 #11281C #111128 #28111C
split-complementary
#282811 #111C28 #1C1128
monochromatic
#151509 #151509 #282811 #535323 #7E7E36

Accessibility & contrast

On white

14.98
#282811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#282811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282811
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282811#FFFFFF#000000##FFFFFF
##2828111.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B260F
Deuteranopia (green-blind)
#2C2712
Tritanopia (blue-blind)
#2B2523
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #282811;
/* rgb */ color: rgb(40, 40, 17);
/* oklch */ color: oklch(27.0% 0.038 108.7);
Tailwind
colors: {
  custom: {
    50: '#62614f',
    500: '#282811',
    950: '#000000',
  },
}
SCSS
$custom: #282811;
$custom-light: #62614f;
$custom-dark: #000000;
JSON
{
  "hex": "#282811",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 17
  },
  "hsl": {
    "h": 60,
    "s": 40.351,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27037,
    "c": 0.03802,
    "h": 108.7
  },
  "luminance": 0.02009
}

Semantic roles & 50–950 ramp

primary
#282811
secondary
#35355F
accent
#58D058
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050502
muted
#797978

Preview Lab

Preview with #282811

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

Preview Lab → · Contrast checker → · Palette generator →

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