#282007#282007

#282007 is a very dark, muted yellow. Relative luminance 0.015; OKLCH L 24.7% C 0.041 H 91.5°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#282007
RGBrgb(40, 32, 7)
HSLhsl(45, 70%, 9%)
HSVhsv(45, 83%, 16%)
CMYKcmyk(0%, 20%, 82.5%, 84.3%)
CIE-LABlab(12.61, 0.13, 15.80)
CIE-LCHlch(12.61, 15.80, 89.51°)
OKLaboklab(24.67% -0.001 0.041)
OKLCHoklch(24.67% 0.041 91.5)
XYZxyz(1.4300, 1.4996, 0.4151)
Luminance0.0150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282007 #070F28
analogous
#281007 #282007 #202807
triadic
#282007 #072820 #200728
tetradic
#282007 #072810 #070F28 #280720
square
#282007 #072810 #070F28 #280720
split-complementary
#282007 #072028 #100728
monochromatic
#1A1505 #1A1505 #282007 #5C4A10 #907319

Accessibility & contrast

On white

16.16
#282007 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282007
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282007#FFFFFF#000000##FFFFFF
##2820071.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241F05
Deuteranopia (green-blind)
#262208
Tritanopia (blue-blind)
#2C1D1B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #282007;
/* rgb */ color: rgb(40, 32, 7);
/* oklch */ color: oklch(24.7% 0.041 91.5);
Tailwind
colors: {
  custom: {
    50: '#635b4a',
    500: '#282007',
    950: '#000000',
  },
}
SCSS
$custom: #282007;
$custom-light: #635b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#282007",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 7
  },
  "hsl": {
    "h": 45.455,
    "s": 70.213,
    "l": 9.216
  },
  "oklch": {
    "l": 0.24667,
    "c": 0.04101,
    "h": 91.5
  },
  "luminance": 0.01499
}

Semantic roles & 50–950 ramp

primary
#282007
secondary
#233468
accent
#66ED3B
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050401
muted
#797977

Preview Lab

Preview with #282007

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

Preview Lab → · Contrast checker → · Palette generator →

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