#282C0F#282C0F

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

Color values

HEX#282C0F
RGBrgb(40, 44, 15)
HSLhsl(68, 49%, 12%)
HSVhsv(68, 66%, 17%)
CMYKcmyk(9.1%, 0%, 65.9%, 82.7%)
CIE-LABlab(16.93, -7.14, 17.81)
CIE-LCHlch(16.93, 19.19, 111.84°)
OKLaboklab(28.14% -0.0206 0.0421)
OKLCHoklch(28.14% 0.047 116)
XYZxyz(1.8620, 2.2870, 0.7952)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C0F #130F2C
analogous
#2C220F #282C0F #1A2C0F
triadic
#282C0F #0F282C #2C0F28
tetradic
#282C0F #0F2C22 #130F2C #2C0F1A
square
#282C0F #0F2C22 #130F2C #2C0F1A
split-complementary
#282C0F #0F1A2C #220F2C
monochromatic
#151708 #151708 #282C0F #515A1F #7B872E

Accessibility & contrast

On white

14.41
#282C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#282C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C0F
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C0F#FFFFFF#000000##FFFFFF
##282C0F1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282c0f;
/* rgb */ color: rgb(40, 44, 15);
/* oklch */ color: oklch(28.1% 0.047 116.0);
Tailwind
colors: {
  custom: {
    50: '#63654e',
    500: '#282c0f',
    950: '#000000',
  },
}
SCSS
$custom: #282c0f;
$custom-light: #63654e;
$custom-dark: #000000;
JSON
{
  "hex": "#282c0f",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 15
  },
  "hsl": {
    "h": 68.276,
    "s": 49.153,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28138,
    "c": 0.04688,
    "h": 116
  },
  "luminance": 0.02287
}

Semantic roles & 50–950 ramp

primary
#282C0F
secondary
#393165
accent
#4FD962
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050501
muted
#797A77

Preview Lab

Preview with #282C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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