#282D0B#282D0B

#282D0B is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.4% C 0.053 H 117.0°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#282D0B
RGBrgb(40, 45, 11)
HSLhsl(69, 61%, 11%)
HSVhsv(69, 76%, 18%)
CMYKcmyk(11.1%, 0%, 75.6%, 82.4%)
CIE-LABlab(17.24, -8.18, 20.11)
CIE-LCHlch(17.24, 21.71, 112.15°)
OKLaboklab(28.37% -0.024 0.0472)
OKLCHoklch(28.37% 0.053 117)
XYZxyz(1.8739, 2.3521, 0.6718)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D0B #100B2D
analogous
#2D210B #282D0B #172D0B
triadic
#282D0B #0B282D #2D0B28
tetradic
#282D0B #0B2D21 #100B2D #2D0B17
square
#282D0B #0B2D21 #100B2D #2D0B17
split-complementary
#282D0B #0B172D #210B2D
monochromatic
#161906 #161906 #282D0B #545E17 #7F8F23

Accessibility & contrast

On white

14.28
#282D0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#282D0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D0B
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D0B#FFFFFF#000000##FFFFFF
##282D0B1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A07
Deuteranopia (green-blind)
#302B0D
Tritanopia (blue-blind)
#2B2A26
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #282d0b;
/* rgb */ color: rgb(40, 45, 11);
/* oklch */ color: oklch(28.4% 0.053 117.0);
Tailwind
colors: {
  custom: {
    50: '#63654c',
    500: '#282d0b',
    950: '#000000',
  },
}
SCSS
$custom: #282d0b;
$custom-light: #63654c;
$custom-dark: #000000;
JSON
{
  "hex": "#282d0b",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 11
  },
  "hsl": {
    "h": 68.824,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2837,
    "c": 0.05296,
    "h": 117
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#282D0B
secondary
#342A69
accent
#44E45B
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050501
muted
#797A77

Preview Lab

Preview with #282D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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