#28250C#28250C

#28250C is a dark, muted yellow. Relative luminance 0.018; OKLCH L 26.1% C 0.040 H 102.5°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#28250C
RGBrgb(40, 37, 12)
HSLhsl(54, 54%, 10%)
HSVhsv(54, 70%, 16%)
CMYKcmyk(0%, 7.5%, 70%, 84.3%)
CIE-LABlab(14.41, -2.83, 16.10)
CIE-LCHlch(14.41, 16.35, 99.98°)
OKLaboklab(26.11% -0.0087 0.0394)
OKLCHoklch(26.11% 0.04 102.5)
XYZxyz(1.6031, 1.8009, 0.6109)
Luminance0.0180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28250C #0C0F28
analogous
#28170C #28250C #1D280C
triadic
#28250C #0C2825 #250C28
tetradic
#28250C #0C2817 #0C0F28 #280C1D
square
#28250C #0C2817 #0C0F28 #280C1D
split-complementary
#28250C #0C1D28 #170C28
monochromatic
#181607 #181607 #28250C #57511A #867C28

Accessibility & contrast

On white

15.44
#28250C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#28250C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28250C
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28250C#FFFFFF#000000##FFFFFF
##28250C1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240A
Deuteranopia (green-blind)
#2A250D
Tritanopia (blue-blind)
#2B221F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #28250c;
/* rgb */ color: rgb(40, 37, 12);
/* oklch */ color: oklch(26.1% 0.040 102.5);
Tailwind
colors: {
  custom: {
    50: '#635f4c',
    500: '#28250c',
    950: '#000000',
  },
}
SCSS
$custom: #28250c;
$custom-light: #635f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#28250c",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 12
  },
  "hsl": {
    "h": 53.571,
    "s": 53.846,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26114,
    "c": 0.04034,
    "h": 102.5
  },
  "luminance": 0.01801
}

Semantic roles & 50–950 ramp

primary
#28250C
secondary
#2D3363
accent
#5ADD4B
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050401
muted
#797977

Preview Lab

Preview with #28250C

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

Preview Lab → · Contrast checker → · Palette generator →

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