#282A01#282A01

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

Color values

HEX#282A01
RGBrgb(40, 42, 1)
HSLhsl(63, 95%, 8%)
HSVhsv(63, 98%, 16%)
CMYKcmyk(4.8%, 0%, 97.6%, 83.5%)
CIE-LABlab(16.05, -7.17, 22.73)
CIE-LCHlch(16.05, 23.83, 107.51°)
OKLaboklab(27.39% -0.0228 0.0551)
OKLCHoklch(27.39% 0.06 112.5)
XYZxyz(1.7086, 2.1093, 0.3458)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A01 #03012A
analogous
#2A1701 #282A01 #132A01
triadic
#282A01 #01282A #2A0128
tetradic
#282A01 #012A17 #03012A #2A0113
square
#282A01 #012A17 #03012A #2A0113
split-complementary
#282A01 #01132A #17012A
monochromatic
#1C1E01 #1C1E01 #282A01 #616602 #9AA204

Accessibility & contrast

On white

14.77
#282A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282A01
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A01#FFFFFF#000000##FFFFFF
##282A011.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282a01;
/* rgb */ color: rgb(40, 42, 1);
/* oklch */ color: oklch(27.4% 0.060 112.5);
Tailwind
colors: {
  custom: {
    50: '#636347',
    500: '#282a01',
    950: '#000000',
  },
}
SCSS
$custom: #282a01;
$custom-light: #636347;
$custom-dark: #000000;
JSON
{
  "hex": "#282a01",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 1
  },
  "hsl": {
    "h": 62.927,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.27385,
    "c": 0.05961,
    "h": 112.5
  },
  "luminance": 0.02109
}

Semantic roles & 50–950 ramp

primary
#282A01
secondary
#1B1670
accent
#29FF33
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#050500
muted
#7A7977

Preview Lab

Preview with #282A01

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

Preview Lab → · Contrast checker → · Palette generator →

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