#282D0C#282D0C

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

Color values

HEX#282D0C
RGBrgb(40, 45, 12)
HSLhsl(69, 58%, 11%)
HSVhsv(69, 73%, 18%)
CMYKcmyk(11.1%, 0%, 73.3%, 82.4%)
CIE-LABlab(17.25, -8.09, 19.68)
CIE-LCHlch(17.25, 21.28, 112.35°)
OKLaboklab(28.38% -0.0236 0.0462)
OKLCHoklch(28.38% 0.052 117.1)
XYZxyz(1.8799, 2.3545, 0.7032)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D0C #110C2D
analogous
#2D210C #282D0C #172D0C
triadic
#282D0C #0C282D #2D0C28
tetradic
#282D0C #0C2D21 #110C2D #2D0C17
square
#282D0C #0C2D21 #110C2D #2D0C17
split-complementary
#282D0C #0C172D #210C2D
monochromatic
#151806 #151806 #282D0C #535D19 #7E8E26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##282D0C#FFFFFF#000000##FFFFFF
##282D0C1.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)
#302A08
Deuteranopia (green-blind)
#302B0E
Tritanopia (blue-blind)
#2B2A26
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #282d0c;
/* rgb */ color: rgb(40, 45, 12);
/* oklch */ color: oklch(28.4% 0.052 117.1);
Tailwind
colors: {
  custom: {
    50: '#63654d',
    500: '#282d0c',
    950: '#000000',
  },
}
SCSS
$custom: #282d0c;
$custom-light: #63654d;
$custom-dark: #000000;
JSON
{
  "hex": "#282d0c",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 12
  },
  "hsl": {
    "h": 69.091,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28382,
    "c": 0.05191,
    "h": 117.1
  },
  "luminance": 0.02354
}

Semantic roles & 50–950 ramp

primary
#282D0C
secondary
#352C69
accent
#47E15E
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050501
muted
#797A77

Preview Lab

Preview with #282D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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