#282912#282912

#282912 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.3% C 0.038 H 110.9°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#282912
RGBrgb(40, 41, 18)
HSLhsl(63, 39%, 12%)
HSVhsv(63, 56%, 16%)
CMYKcmyk(2.4%, 0%, 56.1%, 83.9%)
CIE-LABlab(15.91, -4.81, 14.83)
CIE-LCHlch(15.91, 15.60, 107.97°)
OKLaboklab(27.34% -0.0136 0.0357)
OKLCHoklch(27.34% 0.038 110.9)
XYZxyz(1.7772, 2.0807, 0.8801)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282912 #131229
analogous
#291F12 #282912 #1D2912
triadic
#282912 #122829 #291228
tetradic
#282912 #12291F #131229 #29121D
square
#282912 #12291F #131229 #29121D
split-complementary
#282912 #121D29 #1F1229
monochromatic
#151509 #151509 #282912 #515425 #7B7E37

Accessibility & contrast

On white

14.83
#282912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#282912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282912
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282912#FFFFFF#000000##FFFFFF
##2829121.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2710
Deuteranopia (green-blind)
#2C2813
Tritanopia (blue-blind)
#2B2724
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #282912;
/* rgb */ color: rgb(40, 41, 18);
/* oklch */ color: oklch(27.3% 0.038 110.9);
Tailwind
colors: {
  custom: {
    50: '#626250',
    500: '#282912',
    950: '#000000',
  },
}
SCSS
$custom: #282912;
$custom-light: #626250;
$custom-dark: #000000;
JSON
{
  "hex": "#282912",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 18
  },
  "hsl": {
    "h": 62.609,
    "s": 38.983,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27337,
    "c": 0.03818,
    "h": 110.9
  },
  "luminance": 0.02081
}

Semantic roles & 50–950 ramp

primary
#282912
secondary
#393760
accent
#59CF5E
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050502
muted
#797978

Preview Lab

Preview with #282912

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

Preview Lab → · Contrast checker → · Palette generator →

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