#28210B#28210B

#28210B is a dark, muted yellow. Relative luminance 0.016; OKLCH L 25.0% C 0.037 H 91.9°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#28210B
RGBrgb(40, 33, 11)
HSLhsl(46, 57%, 10%)
HSVhsv(46, 73%, 16%)
CMYKcmyk(0%, 17.5%, 72.5%, 84.3%)
CIE-LABlab(13.00, -0.18, 14.69)
CIE-LCHlch(13.00, 14.69, 90.69°)
OKLaboklab(25% -0.0012 0.0371)
OKLCHoklch(25% 0.037 91.9)
XYZxyz(1.4794, 1.5631, 0.5403)
Luminance0.0156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28210B #0B1228
analogous
#28120B #28210B #21280B
triadic
#28210B #0B2821 #210B28
tetradic
#28210B #0B2812 #0B1228 #280B21
square
#28210B #0B2812 #0B1228 #280B21
split-complementary
#28210B #0B2128 #120B28
monochromatic
#181407 #181407 #28210B #584918 #887025

Accessibility & contrast

On white

16.00
#28210B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#28210B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28210B
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28210B#FFFFFF#000000##FFFFFF
##28210B1.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252009
Deuteranopia (green-blind)
#27220C
Tritanopia (blue-blind)
#2C1E1C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #28210b;
/* rgb */ color: rgb(40, 33, 11);
/* oklch */ color: oklch(25.0% 0.037 91.9);
Tailwind
colors: {
  custom: {
    50: '#635c4b',
    500: '#28210b',
    950: '#000000',
  },
}
SCSS
$custom: #28210b;
$custom-light: #635c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#28210b",
  "rgb": {
    "r": 40,
    "g": 33,
    "b": 11
  },
  "hsl": {
    "h": 45.517,
    "s": 56.863,
    "l": 10
  },
  "oklch": {
    "l": 0.25,
    "c": 0.03712,
    "h": 91.9
  },
  "luminance": 0.01563
}

Semantic roles & 50–950 ramp

primary
#28210B
secondary
#2B3964
accent
#6CE048
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050401
muted
#797977

Preview Lab

Preview with #28210B

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

Preview Lab → · Contrast checker → · Palette generator →

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