#282A03#282A03

#282A03 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.4% C 0.057 H 112.5°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#282A03
RGBrgb(40, 42, 3)
HSLhsl(63, 87%, 9%)
HSVhsv(63, 93%, 16%)
CMYKcmyk(4.8%, 0%, 92.9%, 83.5%)
CIE-LABlab(16.07, -6.99, 21.94)
CIE-LCHlch(16.07, 23.03, 107.67°)
OKLaboklab(27.41% -0.0219 0.0529)
OKLCHoklch(27.41% 0.057 112.5)
XYZxyz(1.7195, 2.1137, 0.4035)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A03 #05032A
analogous
#2A1903 #282A03 #152A03
triadic
#282A03 #03282A #2A0328
tetradic
#282A03 #032A19 #05032A #2A0315
square
#282A03 #032A19 #05032A #2A0315
split-complementary
#282A03 #03152A #19032A
monochromatic
#1B1D02 #1B1D02 #282A03 #5E6307 #959C0B

Accessibility & contrast

On white

14.76
#282A03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#282A03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A03
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A03#FFFFFF#000000##FFFFFF
##282A031.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2E2805
Tritanopia (blue-blind)
#2C2722
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #282a03;
/* rgb */ color: rgb(40, 42, 3);
/* oklch */ color: oklch(27.4% 0.057 112.5);
Tailwind
colors: {
  custom: {
    50: '#636348',
    500: '#282a03',
    950: '#000000',
  },
}
SCSS
$custom: #282a03;
$custom-light: #636348;
$custom-dark: #000000;
JSON
{
  "hex": "#282a03",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 3
  },
  "hsl": {
    "h": 63.077,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.2741,
    "c": 0.05724,
    "h": 112.5
  },
  "luminance": 0.02114
}

Semantic roles & 50–950 ramp

primary
#282A03
secondary
#1F1B6E
accent
#2BFD36
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#050500
muted
#7A7977

Preview Lab

Preview with #282A03

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

Preview Lab → · Contrast checker → · Palette generator →

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