#282704#282704

#282704 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.6% C 0.052 H 107.9°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#282704
RGBrgb(40, 39, 4)
HSLhsl(58, 82%, 9%)
HSVhsv(58, 90%, 16%)
CMYKcmyk(0%, 2.5%, 90%, 84.3%)
CIE-LABlab(15.01, -4.93, 20.19)
CIE-LCHlch(15.01, 20.78, 103.73°)
OKLaboklab(26.57% -0.016 0.0497)
OKLCHoklch(26.57% 0.052 107.9)
XYZxyz(1.6226, 1.9110, 0.3982)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282704 #040528
analogous
#281504 #282704 #172804
triadic
#282704 #042827 #270428
tetradic
#282704 #042815 #040528 #280417
square
#282704 #042815 #040528 #280417
split-complementary
#282704 #041728 #150428
monochromatic
#1C1B03 #1C1B03 #282704 #605D0A #97930F

Accessibility & contrast

On white

15.19
#282704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#282704 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282704
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282704#FFFFFF#000000##FFFFFF
##2827041.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2501
Deuteranopia (green-blind)
#2C2606
Tritanopia (blue-blind)
#2C2420
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #282704;
/* rgb */ color: rgb(40, 39, 4);
/* oklch */ color: oklch(26.6% 0.052 107.9);
Tailwind
colors: {
  custom: {
    50: '#636048',
    500: '#282704',
    950: '#000000',
  },
}
SCSS
$custom: #282704;
$custom-light: #636048;
$custom-dark: #000000;
JSON
{
  "hex": "#282704",
  "rgb": {
    "r": 40,
    "g": 39,
    "b": 4
  },
  "hsl": {
    "h": 58.333,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.26566,
    "c": 0.05222,
    "h": 107.9
  },
  "luminance": 0.01911
}

Semantic roles & 50–950 ramp

primary
#282704
secondary
#1D1F6B
accent
#35F830
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#050500
muted
#7A7977

Preview Lab

Preview with #282704

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

Preview Lab → · Contrast checker → · Palette generator →

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