#282917#282917

#282917 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.4% C 0.031 H 111.0°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#282917
RGBrgb(40, 41, 23)
HSLhsl(63, 28%, 13%)
HSVhsv(63, 44%, 16%)
CMYKcmyk(2.4%, 0%, 43.9%, 83.9%)
CIE-LABlab(16.00, -4.09, 11.68)
CIE-LCHlch(16.00, 12.37, 109.30°)
OKLaboklab(27.44% -0.011 0.0288)
OKLCHoklch(27.44% 0.031 111)
XYZxyz(1.8227, 2.0989, 1.1196)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282917 #181729
analogous
#292117 #282917 #1F2917
triadic
#282917 #172829 #291728
tetradic
#282917 #172921 #181729 #29171F
square
#282917 #172921 #181729 #29171F
split-complementary
#282917 #171F29 #211729
monochromatic
#13140B #13140B #282917 #4E502D #757743

Accessibility & contrast

On white

14.79
#282917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282917
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282917#FFFFFF#000000##FFFFFF
##2829171.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2716
Deuteranopia (green-blind)
#2C2818
Tritanopia (blue-blind)
#2A2724
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #282917;
/* rgb */ color: rgb(40, 41, 23);
/* oklch */ color: oklch(27.4% 0.031 111.0);
Tailwind
colors: {
  custom: {
    50: '#626254',
    500: '#282917',
    950: '#000000',
  },
}
SCSS
$custom: #282917;
$custom-light: #626254;
$custom-dark: #000000;
JSON
{
  "hex": "#282917",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 23
  },
  "hsl": {
    "h": 63.333,
    "s": 28.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.2744,
    "c": 0.03082,
    "h": 111
  },
  "luminance": 0.02099
}

Semantic roles & 50–950 ramp

primary
#282917
secondary
#403F5D
accent
#63C469
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050502
muted
#797978

Preview Lab

Preview with #282917

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

Preview Lab → · Contrast checker → · Palette generator →

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