#282102#282102

#282102 is a very dark, muted yellow. Relative luminance 0.015; OKLCH L 24.9% C 0.048 H 96.6°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#282102
RGBrgb(40, 33, 2)
HSLhsl(49, 90%, 8%)
HSVhsv(49, 95%, 16%)
CMYKcmyk(0%, 17.5%, 95%, 84.3%)
CIE-LABlab(12.88, -1.05, 18.20)
CIE-LCHlch(12.88, 18.23, 93.31°)
OKLaboklab(24.86% -0.0056 0.0481)
OKLCHoklch(24.86% 0.048 96.6)
XYZxyz(1.4300, 1.5433, 0.2800)
Luminance0.0154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282102 #020928
analogous
#280E02 #282102 #1C2802
triadic
#282102 #022821 #210228
tetradic
#282102 #02280E #020928 #28021C
square
#282102 #02280E #020928 #28021C
split-complementary
#282102 #021C28 #0E0228
monochromatic
#1D1801 #1D1801 #282102 #625105 #9D8108

Accessibility & contrast

On white

16.05
#282102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#282102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282102
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282102#FFFFFF#000000##FFFFFF
##2821021.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262000
Deuteranopia (green-blind)
#272203
Tritanopia (blue-blind)
#2C1D1B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #282102;
/* rgb */ color: rgb(40, 33, 2);
/* oklch */ color: oklch(24.9% 0.048 96.6);
Tailwind
colors: {
  custom: {
    50: '#635c47',
    500: '#282102',
    950: '#000000',
  },
}
SCSS
$custom: #282102;
$custom-light: #635c47;
$custom-dark: #000000;
JSON
{
  "hex": "#282102",
  "rgb": {
    "r": 40,
    "g": 33,
    "b": 2
  },
  "hsl": {
    "h": 48.947,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.24863,
    "c": 0.04842,
    "h": 96.6
  },
  "luminance": 0.01543
}

Semantic roles & 50–950 ramp

primary
#282102
secondary
#19286D
accent
#50FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#050400
muted
#7A7977

Preview Lab

Preview with #282102

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

Preview Lab → · Contrast checker → · Palette generator →

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