#282B04#282B04

#282B04 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.7% C 0.057 H 113.9°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#282B04
RGBrgb(40, 43, 4)
HSLhsl(65, 83%, 9%)
HSVhsv(65, 91%, 17%)
CMYKcmyk(7%, 0%, 90.7%, 83.1%)
CIE-LABlab(16.44, -7.54, 21.99)
CIE-LCHlch(16.44, 23.25, 108.92°)
OKLaboklab(27.71% -0.0233 0.0525)
OKLCHoklch(27.71% 0.057 113.9)
XYZxyz(1.7609, 2.1877, 0.4443)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B04 #07042B
analogous
#2B1B04 #282B04 #152B04
triadic
#282B04 #04282B #2B0428
tetradic
#282B04 #042B1B #07042B #2B0415
square
#282B04 #042B1B #07042B #2B0415
split-complementary
#282B04 #04152B #1B042B
monochromatic
#1A1C03 #1A1C03 #282B04 #5C6309 #909B0E

Accessibility & contrast

On white

14.61
#282B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282B04
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B04#FFFFFF#000000##FFFFFF
##282B041.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282b04;
/* rgb */ color: rgb(40, 43, 4);
/* oklch */ color: oklch(27.7% 0.057 113.9);
Tailwind
colors: {
  custom: {
    50: '#636449',
    500: '#282b04',
    950: '#000000',
  },
}
SCSS
$custom: #282b04;
$custom-light: #636449;
$custom-dark: #000000;
JSON
{
  "hex": "#282b04",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 4
  },
  "hsl": {
    "h": 64.615,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.2771,
    "c": 0.05743,
    "h": 113.9
  },
  "luminance": 0.02188
}

Semantic roles & 50–950 ramp

primary
#282B04
secondary
#231D6E
accent
#2EF93E
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#050500
muted
#7A7977

Preview Lab

Preview with #282B04

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

Preview Lab → · Contrast checker → · Palette generator →

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