#282D07#282D07

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

Color values

HEX#282D07
RGBrgb(40, 45, 7)
HSLhsl(68, 73%, 10%)
HSVhsv(68, 84%, 18%)
CMYKcmyk(11.1%, 0%, 84.4%, 82.4%)
CIE-LABlab(17.19, -8.54, 21.70)
CIE-LCHlch(17.19, 23.32, 111.48°)
OKLaboklab(28.32% -0.0256 0.051)
OKLCHoklch(28.32% 0.057 116.6)
XYZxyz(1.8519, 2.3433, 0.5557)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D07 #0C072D
analogous
#2D1F07 #282D07 #152D07
triadic
#282D07 #07282D #2D0728
tetradic
#282D07 #072D1F #0C072D #2D0715
square
#282D07 #072D1F #0C072D #2D0715
split-complementary
#282D07 #07152D #1F072D
monochromatic
#181A04 #181A04 #282D07 #57620F #869717

Accessibility & contrast

On white

14.30
#282D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282D07
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D07#FFFFFF#000000##FFFFFF
##282D071.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282d07;
/* rgb */ color: rgb(40, 45, 7);
/* oklch */ color: oklch(28.3% 0.057 116.6);
Tailwind
colors: {
  custom: {
    50: '#63654a',
    500: '#282d07',
    950: '#000000',
  },
}
SCSS
$custom: #282d07;
$custom-light: #63654a;
$custom-dark: #000000;
JSON
{
  "hex": "#282d07",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 7
  },
  "hsl": {
    "h": 67.895,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.28323,
    "c": 0.05701,
    "h": 116.6
  },
  "luminance": 0.02343
}

Semantic roles & 50–950 ramp

primary
#282D07
secondary
#2D236D
accent
#38F050
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050501
muted
#7A7A77

Preview Lab

Preview with #282D07

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

Preview Lab → · Contrast checker → · Palette generator →

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