#28280C#28280C

#28280C is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.0% C 0.044 H 109.0°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#28280C
RGBrgb(40, 40, 12)
HSLhsl(60, 54%, 10%)
HSVhsv(60, 70%, 16%)
CMYKcmyk(0%, 0%, 70%, 84.3%)
CIE-LABlab(15.46, -4.85, 17.46)
CIE-LCHlch(15.46, 18.12, 105.52°)
OKLaboklab(26.96% -0.0145 0.042)
OKLCHoklch(26.96% 0.044 109)
XYZxyz(1.7003, 1.9953, 0.6433)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28280C #0C0C28
analogous
#281A0C #28280C #1A280C
triadic
#28280C #0C2828 #280C28
tetradic
#28280C #0C281A #0C0C28 #280C1A
square
#28280C #0C281A #0C0C28 #280C1A
split-complementary
#28280C #0C1A28 #1A0C28
monochromatic
#181807 #181807 #28280C #57571A #868628

Accessibility & contrast

On white

15.01
#28280C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#28280C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28280C
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28280C#FFFFFF#000000##FFFFFF
##28280C1.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2609
Deuteranopia (green-blind)
#2C270E
Tritanopia (blue-blind)
#2B2522
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #28280c;
/* rgb */ color: rgb(40, 40, 12);
/* oklch */ color: oklch(27.0% 0.044 109.0);
Tailwind
colors: {
  custom: {
    50: '#63614c',
    500: '#28280c',
    950: '#000000',
  },
}
SCSS
$custom: #28280c;
$custom-light: #63614c;
$custom-dark: #000000;
JSON
{
  "hex": "#28280c",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 12
  },
  "hsl": {
    "h": 60,
    "s": 53.846,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26955,
    "c": 0.0444,
    "h": 109
  },
  "luminance": 0.01995
}

Semantic roles & 50–950 ramp

primary
#28280C
secondary
#2D2D63
accent
#4BDD4B
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050501
muted
#797977

Preview Lab

Preview with #28280C

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

Preview Lab → · Contrast checker → · Palette generator →

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