#282803#282803

#282803 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 26.8% C 0.055 H 109.6°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#282803
RGBrgb(40, 40, 3)
HSLhsl(60, 86%, 8%)
HSVhsv(60, 93%, 16%)
CMYKcmyk(0%, 0%, 92.5%, 84.3%)
CIE-LABlab(15.36, -5.68, 21.04)
CIE-LCHlch(15.36, 21.79, 105.12°)
OKLaboklab(26.84% -0.0183 0.0515)
OKLCHoklch(26.84% 0.055 109.6)
XYZxyz(1.6504, 1.9753, 0.3805)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282803 #030328
analogous
#281503 #282803 #152803
triadic
#282803 #032828 #280328
tetradic
#282803 #032815 #030328 #280315
square
#282803 #032815 #030328 #280315
split-complementary
#282803 #031528 #150328
monochromatic
#1C1C02 #1C1C02 #282803 #616107 #9A9A0C

Accessibility & contrast

On white

15.05
#282803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#282803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282803
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282803#FFFFFF#000000##FFFFFF
##2828031.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2600
Deuteranopia (green-blind)
#2D2705
Tritanopia (blue-blind)
#2C2521
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #282803;
/* rgb */ color: rgb(40, 40, 3);
/* oklch */ color: oklch(26.8% 0.055 109.6);
Tailwind
colors: {
  custom: {
    50: '#636148',
    500: '#282803',
    950: '#000000',
  },
}
SCSS
$custom: #282803;
$custom-light: #636148;
$custom-dark: #000000;
JSON
{
  "hex": "#282803",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 3
  },
  "hsl": {
    "h": 60,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.26837,
    "c": 0.05467,
    "h": 109.6
  },
  "luminance": 0.01975
}

Semantic roles & 50–950 ramp

primary
#282803
secondary
#1B1B6C
accent
#2CFC2C
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#050500
muted
#7A7977

Preview Lab

Preview with #282803

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

Preview Lab → · Contrast checker → · Palette generator →

#282803 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva