#282C06#282C06

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

Color values

HEX#282C06
RGBrgb(40, 44, 6)
HSLhsl(66, 76%, 10%)
HSVhsv(66, 86%, 17%)
CMYKcmyk(9.1%, 0%, 86.4%, 82.7%)
CIE-LABlab(16.82, -7.99, 21.65)
CIE-LCHlch(16.82, 23.08, 110.27°)
OKLaboklab(28.02% -0.0242 0.0512)
OKLCHoklch(28.02% 0.057 115.3)
XYZxyz(1.8087, 2.2657, 0.5143)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C06 #0A062C
analogous
#2C1D06 #282C06 #152C06
triadic
#282C06 #06282C #2C0628
tetradic
#282C06 #062C1D #0A062C #2C0615
square
#282C06 #062C1D #0A062C #2C0615
split-complementary
#282C06 #06152C #1D062C
monochromatic
#181B04 #181B04 #282C06 #59620D #8A9815

Accessibility & contrast

On white

14.45
#282C06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282C06
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C06#FFFFFF#000000##FFFFFF
##282C061.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282c06;
/* rgb */ color: rgb(40, 44, 6);
/* oklch */ color: oklch(28.0% 0.057 115.3);
Tailwind
colors: {
  custom: {
    50: '#63654a',
    500: '#282c06',
    950: '#000000',
  },
}
SCSS
$custom: #282c06;
$custom-light: #63654a;
$custom-dark: #000000;
JSON
{
  "hex": "#282c06",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 6
  },
  "hsl": {
    "h": 66.316,
    "s": 76,
    "l": 9.804
  },
  "oklch": {
    "l": 0.28022,
    "c": 0.05662,
    "h": 115.3
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#282C06
secondary
#29216D
accent
#35F349
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050501
muted
#7A7A77

Preview Lab

Preview with #282C06

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

Preview Lab → · Contrast checker → · Palette generator →

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