#282C07#282C07

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

Color values

HEX#282C07
RGBrgb(40, 44, 7)
HSLhsl(66, 73%, 10%)
HSVhsv(66, 84%, 17%)
CMYKcmyk(9.1%, 0%, 84.1%, 82.7%)
CIE-LABlab(16.83, -7.90, 21.26)
CIE-LCHlch(16.83, 22.68, 110.39°)
OKLaboklab(28.03% -0.0238 0.0502)
OKLCHoklch(28.03% 0.056 115.4)
XYZxyz(1.8142, 2.2678, 0.5431)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C07 #0B072C
analogous
#2C1D07 #282C07 #162C07
triadic
#282C07 #07282C #2C0728
tetradic
#282C07 #072C1D #0B072C #2C0716
square
#282C07 #072C1D #0B072C #2C0716
split-complementary
#282C07 #07162C #1D072C
monochromatic
#181A04 #181A04 #282C07 #58610F #889618

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##282C07#FFFFFF#000000##FFFFFF
##282C071.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)
#302903
Deuteranopia (green-blind)
#2F2A0A
Tritanopia (blue-blind)
#2B2925
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #282c07;
/* rgb */ color: rgb(40, 44, 7);
/* oklch */ color: oklch(28.0% 0.056 115.4);
Tailwind
colors: {
  custom: {
    50: '#63654a',
    500: '#282c07',
    950: '#000000',
  },
}
SCSS
$custom: #282c07;
$custom-light: #63654a;
$custom-dark: #000000;
JSON
{
  "hex": "#282c07",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 7
  },
  "hsl": {
    "h": 66.486,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.28034,
    "c": 0.05557,
    "h": 115.4
  },
  "luminance": 0.02268
}

Semantic roles & 50–950 ramp

primary
#282C07
secondary
#2B236C
accent
#39EF4C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050501
muted
#7A7A77

Preview Lab

Preview with #282C07

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

Preview Lab → · Contrast checker → · Palette generator →

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