#282C0A#282C0A

#282C0A is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.1% C 0.052 H 115.6°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#282C0A
RGBrgb(40, 44, 10)
HSLhsl(67, 63%, 11%)
HSVhsv(67, 77%, 17%)
CMYKcmyk(9.1%, 0%, 77.3%, 82.7%)
CIE-LABlab(16.87, -7.64, 20.07)
CIE-LCHlch(16.87, 21.48, 110.83°)
OKLaboklab(28.07% -0.0226 0.0473)
OKLCHoklch(28.07% 0.052 115.6)
XYZxyz(1.8306, 2.2744, 0.6297)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C0A #0E0A2C
analogous
#2C1F0A #282C0A #172C0A
triadic
#282C0A #0A282C #2C0A28
tetradic
#282C0A #0A2C1F #0E0A2C #2C0A17
square
#282C0A #0A2C1F #0E0A2C #2C0A17
split-complementary
#282C0A #0A172C #1F0A2C
monochromatic
#171906 #171906 #282C0A #555E15 #839021

Accessibility & contrast

On white

14.43
#282C0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#282C0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C0A
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C0A#FFFFFF#000000##FFFFFF
##282C0A1.0014.431.4514.43
#FFFFFF14.431.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302906
Deuteranopia (green-blind)
#2F2A0C
Tritanopia (blue-blind)
#2B2925
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #282c0a;
/* rgb */ color: rgb(40, 44, 10);
/* oklch */ color: oklch(28.1% 0.052 115.6);
Tailwind
colors: {
  custom: {
    50: '#63654b',
    500: '#282c0a',
    950: '#000000',
  },
}
SCSS
$custom: #282c0a;
$custom-light: #63654b;
$custom-dark: #000000;
JSON
{
  "hex": "#282c0a",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 10
  },
  "hsl": {
    "h": 67.059,
    "s": 62.963,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2807,
    "c": 0.05246,
    "h": 115.6
  },
  "luminance": 0.02274
}

Semantic roles & 50–950 ramp

primary
#282C0A
secondary
#302969
accent
#42E655
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050501
muted
#797A77

Preview Lab

Preview with #282C0A

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

Preview Lab → · Contrast checker → · Palette generator →

#282C0A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva