#282707#282707

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

Color values

HEX#282707
RGBrgb(40, 39, 7)
HSLhsl(58, 70%, 9%)
HSVhsv(58, 83%, 16%)
CMYKcmyk(0%, 2.5%, 82.5%, 84.3%)
CIE-LABlab(15.05, -4.65, 19.01)
CIE-LCHlch(15.05, 19.57, 103.75°)
OKLaboklab(26.61% -0.0147 0.0464)
OKLCHoklch(26.61% 0.049 107.6)
XYZxyz(1.6390, 1.9175, 0.4848)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282707 #070828
analogous
#281707 #282707 #192807
triadic
#282707 #072827 #270728
tetradic
#282707 #072817 #070828 #280719
square
#282707 #072817 #070828 #280719
split-complementary
#282707 #071928 #170728
monochromatic
#1A1905 #1A1905 #282707 #5C5A10 #908D19

Accessibility & contrast

On white

15.18
#282707 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282707
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282707#FFFFFF#000000##FFFFFF
##2827071.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282707;
/* rgb */ color: rgb(40, 39, 7);
/* oklch */ color: oklch(26.6% 0.049 107.6);
Tailwind
colors: {
  custom: {
    50: '#63604a',
    500: '#282707',
    950: '#000000',
  },
}
SCSS
$custom: #282707;
$custom-light: #63604a;
$custom-dark: #000000;
JSON
{
  "hex": "#282707",
  "rgb": {
    "r": 40,
    "g": 39,
    "b": 7
  },
  "hsl": {
    "h": 58.182,
    "s": 70.213,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26606,
    "c": 0.04867,
    "h": 107.6
  },
  "luminance": 0.01917
}

Semantic roles & 50–950 ramp

primary
#282707
secondary
#232568
accent
#40ED3B
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050501
muted
#797977

Preview Lab

Preview with #282707

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

Preview Lab → · Contrast checker → · Palette generator →

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