#282A0B#282A0B

#282A0B is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.5% C 0.048 H 112.6°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#282A0B
RGBrgb(40, 42, 11)
HSLhsl(64, 58%, 10%)
HSVhsv(64, 74%, 16%)
CMYKcmyk(4.8%, 0%, 73.8%, 83.5%)
CIE-LABlab(16.16, -6.26, 18.78)
CIE-LCHlch(16.16, 19.80, 108.43°)
OKLaboklab(27.51% -0.0186 0.0447)
OKLCHoklch(27.51% 0.048 112.6)
XYZxyz(1.7635, 2.1312, 0.6350)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A0B #0D0B2A
analogous
#2A1C0B #282A0B #182A0B
triadic
#282A0B #0B282A #2A0B28
tetradic
#282A0B #0B2A1C #0D0B2A #2A0B18
square
#282A0B #0B2A1C #0D0B2A #2A0B18
split-complementary
#282A0B #0B182A #1C0B2A
monochromatic
#171806 #171806 #282A0B #565A18 #848B24

Accessibility & contrast

On white

14.72
#282A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#282A0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A0B
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A0B#FFFFFF#000000##FFFFFF
##282A0B1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2808
Deuteranopia (green-blind)
#2E280D
Tritanopia (blue-blind)
#2B2723
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #282a0b;
/* rgb */ color: rgb(40, 42, 11);
/* oklch */ color: oklch(27.5% 0.048 112.6);
Tailwind
colors: {
  custom: {
    50: '#63634c',
    500: '#282a0b',
    950: '#000000',
  },
}
SCSS
$custom: #282a0b;
$custom-light: #63634c;
$custom-dark: #000000;
JSON
{
  "hex": "#282a0b",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 11
  },
  "hsl": {
    "h": 63.871,
    "s": 58.491,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27509,
    "c": 0.04844,
    "h": 112.6
  },
  "luminance": 0.02131
}

Semantic roles & 50–950 ramp

primary
#282A0B
secondary
#2F2B66
accent
#46E250
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #282A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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