#28260C#28260C

#28260C is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.4% C 0.042 H 104.9°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#28260C
RGBrgb(40, 38, 12)
HSLhsl(56, 54%, 10%)
HSVhsv(56, 70%, 16%)
CMYKcmyk(0%, 5%, 70%, 84.3%)
CIE-LABlab(14.76, -3.51, 16.55)
CIE-LCHlch(14.76, 16.92, 101.97°)
OKLaboklab(26.39% -0.0107 0.0403)
OKLCHoklch(26.39% 0.042 104.9)
XYZxyz(1.6346, 1.8639, 0.6214)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28260C #0C0E28
analogous
#28180C #28260C #1C280C
triadic
#28260C #0C2826 #260C28
tetradic
#28260C #0C2818 #0C0E28 #280C1C
square
#28260C #0C2818 #0C0E28 #280C1C
split-complementary
#28260C #0C1C28 #180C28
monochromatic
#181607 #181607 #28260C #57531A #867F28

Accessibility & contrast

On white

15.30
#28260C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#28260C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28260C
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28260C#FFFFFF#000000##FFFFFF
##28260C1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2409
Deuteranopia (green-blind)
#2A260D
Tritanopia (blue-blind)
#2B2320
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #28260c;
/* rgb */ color: rgb(40, 38, 12);
/* oklch */ color: oklch(26.4% 0.042 104.9);
Tailwind
colors: {
  custom: {
    50: '#63604c',
    500: '#28260c',
    950: '#000000',
  },
}
SCSS
$custom: #28260c;
$custom-light: #63604c;
$custom-dark: #000000;
JSON
{
  "hex": "#28260c",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 12
  },
  "hsl": {
    "h": 55.714,
    "s": 53.846,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26393,
    "c": 0.04164,
    "h": 104.9
  },
  "luminance": 0.01864
}

Semantic roles & 50–950 ramp

primary
#28260C
secondary
#2D3163
accent
#55DD4B
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050401
muted
#797977

Preview Lab

Preview with #28260C

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

Preview Lab → · Contrast checker → · Palette generator →

#28260C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva