#282A09#282A09

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

Color values

HEX#282A09
RGBrgb(40, 42, 9)
HSLhsl(64, 65%, 10%)
HSVhsv(64, 79%, 16%)
CMYKcmyk(4.8%, 0%, 78.6%, 83.5%)
CIE-LABlab(16.14, -6.44, 19.58)
CIE-LCHlch(16.14, 20.61, 108.21°)
OKLaboklab(27.48% -0.0194 0.0467)
OKLCHoklch(27.48% 0.051 112.6)
XYZxyz(1.7524, 2.1268, 0.5766)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A09 #0B092A
analogous
#2A1B09 #282A09 #182A09
triadic
#282A09 #09282A #2A0928
tetradic
#282A09 #092A1B #0B092A #2A0918
square
#282A09 #092A1B #0B092A #2A0918
split-complementary
#282A09 #09182A #1B092A
monochromatic
#181905 #181905 #282A09 #585C14 #888F1F

Accessibility & contrast

On white

14.73
#282A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282A09
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A09#FFFFFF#000000##FFFFFF
##282A091.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282a09;
/* rgb */ color: rgb(40, 42, 9);
/* oklch */ color: oklch(27.5% 0.051 112.6);
Tailwind
colors: {
  custom: {
    50: '#63634b',
    500: '#282a09',
    950: '#000000',
  },
}
SCSS
$custom: #282a09;
$custom-light: #63634b;
$custom-dark: #000000;
JSON
{
  "hex": "#282a09",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 9
  },
  "hsl": {
    "h": 63.636,
    "s": 64.706,
    "l": 10
  },
  "oklch": {
    "l": 0.27484,
    "c": 0.05056,
    "h": 112.6
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#282A09
secondary
#2B2768
accent
#40E84A
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #282A09

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

Preview Lab → · Contrast checker → · Palette generator →

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