#282B01#282B01

#282B01 is a dark, moderate yellow. Relative luminance 0.022; OKLCH L 27.7% C 0.061 H 113.8°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#282B01
RGBrgb(40, 43, 1)
HSLhsl(64, 95%, 9%)
HSVhsv(64, 98%, 17%)
CMYKcmyk(7%, 0%, 97.7%, 83.1%)
CIE-LABlab(16.41, -7.81, 23.18)
CIE-LCHlch(16.41, 24.46, 108.62°)
OKLaboklab(27.67% -0.0246 0.0557)
OKLCHoklch(27.67% 0.061 113.8)
XYZxyz(1.7445, 2.1811, 0.3578)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B01 #04012B
analogous
#2B1901 #282B01 #132B01
triadic
#282B01 #01282B #2B0128
tetradic
#282B01 #012B19 #04012B #2B0113
square
#282B01 #012B19 #04012B #2B0113
split-complementary
#282B01 #01132B #19012B
monochromatic
#1C1E01 #1C1E01 #282B01 #606702 #97A304

Accessibility & contrast

On white

14.62
#282B01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#282B01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B01
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B01#FFFFFF#000000##FFFFFF
##282B011.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2F2904
Tritanopia (blue-blind)
#2C2823
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #282b01;
/* rgb */ color: rgb(40, 43, 1);
/* oklch */ color: oklch(27.7% 0.061 113.8);
Tailwind
colors: {
  custom: {
    50: '#636447',
    500: '#282b01',
    950: '#000000',
  },
}
SCSS
$custom: #282b01;
$custom-light: #636447;
$custom-dark: #000000;
JSON
{
  "hex": "#282b01",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 1
  },
  "hsl": {
    "h": 64.286,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.27673,
    "c": 0.06088,
    "h": 113.8
  },
  "luminance": 0.02181
}

Semantic roles & 50–950 ramp

primary
#282B01
secondary
#1D1771
accent
#29FF38
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#050500
muted
#7A7977

Preview Lab

Preview with #282B01

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

Preview Lab → · Contrast checker → · Palette generator →

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