#28280B#28280B

#28280B is a dark, muted yellow. Relative luminance 0.020; OKLCH L 26.9% C 0.046 H 109.1°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#28280B
RGBrgb(40, 40, 11)
HSLhsl(60, 57%, 10%)
HSVhsv(60, 73%, 16%)
CMYKcmyk(0%, 0%, 72.5%, 84.3%)
CIE-LABlab(15.45, -4.95, 17.88)
CIE-LCHlch(15.45, 18.56, 105.46°)
OKLaboklab(26.94% -0.0149 0.043)
OKLCHoklch(26.94% 0.046 109.1)
XYZxyz(1.6943, 1.9929, 0.6120)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28280B #0B0B28
analogous
#281A0B #28280B #1A280B
triadic
#28280B #0B2828 #280B28
tetradic
#28280B #0B281A #0B0B28 #280B1A
square
#28280B #0B281A #0B0B28 #280B1A
split-complementary
#28280B #0B1928 #190B28
monochromatic
#181807 #181807 #28280B #585818 #888825

Accessibility & contrast

On white

15.02
#28280B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#28280B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28280B
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28280B#FFFFFF#000000##FFFFFF
##28280B1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2608
Deuteranopia (green-blind)
#2C270D
Tritanopia (blue-blind)
#2B2522
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #28280b;
/* rgb */ color: rgb(40, 40, 11);
/* oklch */ color: oklch(26.9% 0.046 109.1);
Tailwind
colors: {
  custom: {
    50: '#63614c',
    500: '#28280b',
    950: '#000000',
  },
}
SCSS
$custom: #28280b;
$custom-light: #63614c;
$custom-dark: #000000;
JSON
{
  "hex": "#28280b",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 11
  },
  "hsl": {
    "h": 60,
    "s": 56.863,
    "l": 10
  },
  "oklch": {
    "l": 0.26941,
    "c": 0.04555,
    "h": 109.1
  },
  "luminance": 0.01993
}

Semantic roles & 50–950 ramp

primary
#28280B
secondary
#2B2B64
accent
#48E048
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050501
muted
#797977

Preview Lab

Preview with #28280B

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

Preview Lab → · Contrast checker → · Palette generator →

#28280B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva