#282D04#282D04

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

Color values

HEX#282D04
RGBrgb(40, 45, 4)
HSLhsl(67, 84%, 10%)
HSVhsv(67, 91%, 18%)
CMYKcmyk(11.1%, 0%, 91.1%, 82.4%)
CIE-LABlab(17.16, -8.80, 22.88)
CIE-LCHlch(17.16, 24.52, 111.04°)
OKLaboklab(28.29% -0.0268 0.0539)
OKLCHoklch(28.29% 0.06 116.4)
XYZxyz(1.8354, 2.3367, 0.4692)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D04 #09042D
analogous
#2D1E04 #282D04 #142D04
triadic
#282D04 #04282D #2D0428
tetradic
#282D04 #042D1E #09042D #2D0414
square
#282D04 #042D1E #09042D #2D0414
split-complementary
#282D04 #04142D #1E042D
monochromatic
#191C02 #191C02 #282D04 #5A6509 #8C9D0E

Accessibility & contrast

On white

14.31
#282D04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282D04
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D04#FFFFFF#000000##FFFFFF
##282D041.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282d04;
/* rgb */ color: rgb(40, 45, 4);
/* oklch */ color: oklch(28.3% 0.060 116.4);
Tailwind
colors: {
  custom: {
    50: '#636549',
    500: '#282d04',
    950: '#000000',
  },
}
SCSS
$custom: #282d04;
$custom-light: #636549;
$custom-dark: #000000;
JSON
{
  "hex": "#282d04",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 4
  },
  "hsl": {
    "h": 67.317,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.28288,
    "c": 0.06018,
    "h": 116.4
  },
  "luminance": 0.02337
}

Semantic roles & 50–950 ramp

primary
#282D04
secondary
#271D70
accent
#2EFA47
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#050501
muted
#7A7A77

Preview Lab

Preview with #282D04

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

Preview Lab → · Contrast checker → · Palette generator →

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