#282D01#282D01

#282D01 is a dark, moderate yellow. Relative luminance 0.023; OKLCH L 28.3% C 0.063 H 116.2°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#282D01
RGBrgb(40, 45, 1)
HSLhsl(67, 96%, 9%)
HSVhsv(67, 98%, 18%)
CMYKcmyk(11.1%, 0%, 97.8%, 82.4%)
CIE-LABlab(17.13, -9.07, 24.07)
CIE-LCHlch(17.13, 25.72, 110.65°)
OKLaboklab(28.25% -0.028 0.057)
OKLCHoklch(28.25% 0.063 116.2)
XYZxyz(1.8190, 2.3301, 0.3826)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D01 #06012D
analogous
#2D1C01 #282D01 #122D01
triadic
#282D01 #01282D #2D0128
tetradic
#282D01 #012D1C #06012D #2D0112
square
#282D01 #012D1C #06012D #2D0112
split-complementary
#282D01 #01122D #1C012D
monochromatic
#1B1E01 #1B1E01 #282D01 #5D6902 #92A504

Accessibility & contrast

On white

14.32
#282D01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#282D01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D01
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D01#FFFFFF#000000##FFFFFF
##282D011.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#312A04
Tritanopia (blue-blind)
#2B2A25
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #282d01;
/* rgb */ color: rgb(40, 45, 1);
/* oklch */ color: oklch(28.3% 0.063 116.2);
Tailwind
colors: {
  custom: {
    50: '#636547',
    500: '#282d01',
    950: '#000000',
  },
}
SCSS
$custom: #282d01;
$custom-light: #636547;
$custom-dark: #000000;
JSON
{
  "hex": "#282d01",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 1
  },
  "hsl": {
    "h": 66.818,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.28253,
    "c": 0.06349,
    "h": 116.2
  },
  "luminance": 0.0233
}

Semantic roles & 50–950 ramp

primary
#282D01
secondary
#211773
accent
#29FF41
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#050500
muted
#7A7A77

Preview Lab

Preview with #282D01

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

Preview Lab → · Contrast checker → · Palette generator →

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