#28240A#28240A

#28240A is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.8% C 0.041 H 100.6°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#28240A
RGBrgb(40, 36, 10)
HSLhsl(52, 60%, 10%)
HSVhsv(52, 75%, 16%)
CMYKcmyk(0%, 10%, 75%, 84.3%)
CIE-LABlab(14.03, -2.35, 16.47)
CIE-LCHlch(14.03, 16.63, 98.11°)
OKLaboklab(25.81% -0.0076 0.0408)
OKLCHoklch(25.81% 0.041 100.6)
XYZxyz(1.5608, 1.7348, 0.5397)
Luminance0.0174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28240A #0A0E28
analogous
#28150A #28240A #1D280A
triadic
#28240A #0A2824 #240A28
tetradic
#28240A #0A2815 #0A0E28 #280A1D
square
#28240A #0A2815 #0A0E28 #280A1D
split-complementary
#28240A #0A1D28 #150A28
monochromatic
#181606 #181606 #28240A #595016 #8A7C22

Accessibility & contrast

On white

15.59
#28240A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#28240A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28240A
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28240A#FFFFFF#000000##FFFFFF
##28240A1.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282307
Deuteranopia (green-blind)
#29240B
Tritanopia (blue-blind)
#2C211E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #28240a;
/* rgb */ color: rgb(40, 36, 10);
/* oklch */ color: oklch(25.8% 0.041 100.6);
Tailwind
colors: {
  custom: {
    50: '#635e4b',
    500: '#28240a',
    950: '#000000',
  },
}
SCSS
$custom: #28240a;
$custom-light: #635e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#28240a",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 10
  },
  "hsl": {
    "h": 52,
    "s": 60,
    "l": 9.804
  },
  "oklch": {
    "l": 0.25807,
    "c": 0.04147,
    "h": 100.6
  },
  "luminance": 0.01735
}

Semantic roles & 50–950 ramp

primary
#28240A
secondary
#293165
accent
#5AE345
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050401
muted
#797977

Preview Lab

Preview with #28240A

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

Preview Lab → · Contrast checker → · Palette generator →

#28240A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva