#282002#282002

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

Color values

HEX#282002
RGBrgb(40, 32, 2)
HSLhsl(47, 90%, 8%)
HSVhsv(47, 95%, 16%)
CMYKcmyk(0%, 20%, 95%, 84.3%)
CIE-LABlab(12.54, -0.36, 17.74)
CIE-LCHlch(12.54, 17.74, 91.15°)
OKLaboklab(24.59% -0.0036 0.0475)
OKLCHoklch(24.59% 0.048 94.4)
XYZxyz(1.4026, 1.4886, 0.2709)
Luminance0.0149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282002 #020A28
analogous
#280D02 #282002 #1D2802
triadic
#282002 #022820 #200228
tetradic
#282002 #02280D #020A28 #28021D
square
#282002 #02280D #020A28 #28021D
split-complementary
#282002 #021D28 #0D0228
monochromatic
#1D1701 #1D1701 #282002 #624F05 #9D7D08

Accessibility & contrast

On white

16.18
#282002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#282002 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282002
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282002#FFFFFF#000000##FFFFFF
##2820021.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#251F00
Deuteranopia (green-blind)
#272203
Tritanopia (blue-blind)
#2C1C1A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #282002;
/* rgb */ color: rgb(40, 32, 2);
/* oklch */ color: oklch(24.6% 0.048 94.4);
Tailwind
colors: {
  custom: {
    50: '#635b47',
    500: '#282002',
    950: '#000000',
  },
}
SCSS
$custom: #282002;
$custom-light: #635b47;
$custom-dark: #000000;
JSON
{
  "hex": "#282002",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 2
  },
  "hsl": {
    "h": 47.368,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.2459,
    "c": 0.04759,
    "h": 94.4
  },
  "luminance": 0.01489
}

Semantic roles & 50–950 ramp

primary
#282002
secondary
#192A6D
accent
#56FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#050400
muted
#7A7977

Preview Lab

Preview with #282002

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

Preview Lab → · Contrast checker → · Palette generator →

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