#282C01#282C01

#282C01 is a dark, moderate yellow. Relative luminance 0.023; OKLCH L 28.0% C 0.062 H 115.1°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#282C01
RGBrgb(40, 44, 1)
HSLhsl(66, 96%, 9%)
HSVhsv(66, 98%, 17%)
CMYKcmyk(9.1%, 0%, 97.7%, 82.7%)
CIE-LABlab(16.77, -8.44, 23.62)
CIE-LCHlch(16.77, 25.08, 109.67°)
OKLaboklab(27.96% -0.0263 0.0563)
OKLCHoklch(27.96% 0.062 115.1)
XYZxyz(1.7813, 2.2547, 0.3701)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C01 #05012C
analogous
#2C1B01 #282C01 #132C01
triadic
#282C01 #01282C #2C0128
tetradic
#282C01 #012C1B #05012C #2C0113
square
#282C01 #012C1B #05012C #2C0113
split-complementary
#282C01 #01132C #1B012C
monochromatic
#1B1E01 #1B1E01 #282C01 #5E6802 #95A404

Accessibility & contrast

On white

14.47
#282C01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#282C01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C01
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C01#FFFFFF#000000##FFFFFF
##282C011.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#302A04
Tritanopia (blue-blind)
#2B2924
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #282c01;
/* rgb */ color: rgb(40, 44, 1);
/* oklch */ color: oklch(28.0% 0.062 115.1);
Tailwind
colors: {
  custom: {
    50: '#636547',
    500: '#282c01',
    950: '#000000',
  },
}
SCSS
$custom: #282c01;
$custom-light: #636547;
$custom-dark: #000000;
JSON
{
  "hex": "#282c01",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 1
  },
  "hsl": {
    "h": 65.581,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.27963,
    "c": 0.06218,
    "h": 115.1
  },
  "luminance": 0.02255
}

Semantic roles & 50–950 ramp

primary
#282C01
secondary
#1F1772
accent
#29FF3D
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#050500
muted
#7A7A77

Preview Lab

Preview with #282C01

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

Preview Lab → · Contrast checker → · Palette generator →

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