#28240D#28240D

#28240D is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.9% C 0.038 H 99.6°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#28240D
RGBrgb(40, 36, 13)
HSLhsl(51, 51%, 10%)
HSVhsv(51, 68%, 16%)
CMYKcmyk(0%, 10%, 67.5%, 84.3%)
CIE-LABlab(14.07, -2.04, 15.19)
CIE-LCHlch(14.07, 15.33, 97.66°)
OKLaboklab(25.85% -0.0063 0.0373)
OKLCHoklch(25.85% 0.038 99.6)
XYZxyz(1.5786, 1.7420, 0.6338)
Luminance0.0174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28240D #0D1128
analogous
#28160D #28240D #1E280D
triadic
#28240D #0D2824 #240D28
tetradic
#28240D #0D2816 #0D1128 #280D1E
square
#28240D #0D2816 #0D1128 #280D1E
split-complementary
#28240D #0D1E28 #160D28
monochromatic
#171508 #171508 #28240D #564E1C #84772B

Accessibility & contrast

On white

15.57
#28240D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28240D
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28240D#FFFFFF#000000##FFFFFF
##28240D1.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28230B
Deuteranopia (green-blind)
#29240E
Tritanopia (blue-blind)
#2B211F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #28240d;
/* rgb */ color: rgb(40, 36, 13);
/* oklch */ color: oklch(25.9% 0.038 99.6);
Tailwind
colors: {
  custom: {
    50: '#625e4d',
    500: '#28240d',
    950: '#000000',
  },
}
SCSS
$custom: #28240d;
$custom-light: #625e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#28240d",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 13
  },
  "hsl": {
    "h": 51.111,
    "s": 50.943,
    "l": 10.392
  },
  "oklch": {
    "l": 0.25853,
    "c": 0.03785,
    "h": 99.6
  },
  "luminance": 0.01742
}

Semantic roles & 50–950 ramp

primary
#28240D
secondary
#2F3662
accent
#62DA4D
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050401
muted
#797977

Preview Lab

Preview with #28240D

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

Preview Lab → · Contrast checker → · Palette generator →

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