#282C0B#282C0B

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

Color values

HEX#282C0B
RGBrgb(40, 44, 11)
HSLhsl(67, 60%, 11%)
HSVhsv(67, 75%, 17%)
CMYKcmyk(9.1%, 0%, 75%, 82.7%)
CIE-LABlab(16.88, -7.55, 19.67)
CIE-LCHlch(16.88, 21.07, 111.00°)
OKLaboklab(28.08% -0.0222 0.0464)
OKLCHoklch(28.08% 0.051 115.6)
XYZxyz(1.8362, 2.2767, 0.6593)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C0B #0F0B2C
analogous
#2C1F0B #282C0B #172C0B
triadic
#282C0B #0B282C #2C0B28
tetradic
#282C0B #0B2C1F #0F0B2C #2C0B17
square
#282C0B #0B2C1F #0F0B2C #2C0B17
split-complementary
#282C0B #0B172C #1F0B2C
monochromatic
#161806 #161806 #282C0B #555D17 #818E23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##282C0B#FFFFFF#000000##FFFFFF
##282C0B1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282c0b;
/* rgb */ color: rgb(40, 44, 11);
/* oklch */ color: oklch(28.1% 0.051 115.6);
Tailwind
colors: {
  custom: {
    50: '#63654c',
    500: '#282c0b',
    950: '#000000',
  },
}
SCSS
$custom: #282c0b;
$custom-light: #63654c;
$custom-dark: #000000;
JSON
{
  "hex": "#282c0b",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 11
  },
  "hsl": {
    "h": 67.273,
    "s": 60,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28082,
    "c": 0.05143,
    "h": 115.6
  },
  "luminance": 0.02277
}

Semantic roles & 50–950 ramp

primary
#282C0B
secondary
#322B68
accent
#45E358
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050501
muted
#797A77

Preview Lab

Preview with #282C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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