#282C05#282C05

#282C05 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.0% C 0.058 H 115.2°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#282C05
RGBrgb(40, 44, 5)
HSLhsl(66, 80%, 10%)
HSVhsv(66, 89%, 17%)
CMYKcmyk(9.1%, 0%, 88.6%, 82.7%)
CIE-LABlab(16.81, -8.08, 22.04)
CIE-LCHlch(16.81, 23.48, 110.14°)
OKLaboklab(28.01% -0.0246 0.0522)
OKLCHoklch(28.01% 0.058 115.2)
XYZxyz(1.8032, 2.2635, 0.4855)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C05 #09052C
analogous
#2C1D05 #282C05 #152C05
triadic
#282C05 #05282C #2C0528
tetradic
#282C05 #052C1D #09052C #2C0515
square
#282C05 #052C1D #09052C #2C0515
split-complementary
#282C05 #05152C #1D052C
monochromatic
#191B03 #191B03 #282C05 #5A630B #8C9A11

Accessibility & contrast

On white

14.46
#282C05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282C05
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C05#FFFFFF#000000##FFFFFF
##282C051.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282c05;
/* rgb */ color: rgb(40, 44, 5);
/* oklch */ color: oklch(28.0% 0.058 115.2);
Tailwind
colors: {
  custom: {
    50: '#636549',
    500: '#282c05',
    950: '#000000',
  },
}
SCSS
$custom: #282c05;
$custom-light: #636549;
$custom-dark: #000000;
JSON
{
  "hex": "#282c05",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 5
  },
  "hsl": {
    "h": 66.154,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2801,
    "c": 0.0577,
    "h": 115.2
  },
  "luminance": 0.02263
}

Semantic roles & 50–950 ramp

primary
#282C05
secondary
#271F6E
accent
#32F646
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050501
muted
#7A7A77

Preview Lab

Preview with #282C05

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

Preview Lab → · Contrast checker → · Palette generator →

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