#28270D#28270D

#28270D is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.7% C 0.042 H 106.9°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#28270D
RGBrgb(40, 39, 13)
HSLhsl(58, 51%, 10%)
HSVhsv(58, 68%, 16%)
CMYKcmyk(0%, 2.5%, 67.5%, 84.3%)
CIE-LABlab(15.12, -4.08, 16.56)
CIE-LCHlch(15.12, 17.05, 103.83°)
OKLaboklab(26.69% -0.0121 0.04)
OKLCHoklch(26.69% 0.042 106.9)
XYZxyz(1.6733, 1.9313, 0.6653)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28270D #0D0E28
analogous
#28190D #28270D #1B280D
triadic
#28270D #0D2827 #270D28
tetradic
#28270D #0D2819 #0D0E28 #280D1B
square
#28270D #0D2819 #0D0E28 #280D1B
split-complementary
#28270D #0D1B28 #190D28
monochromatic
#171708 #171708 #28270D #56541C #84812B

Accessibility & contrast

On white

15.15
#28270D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#28270D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28270D
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28270D#FFFFFF#000000##FFFFFF
##28270D1.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B250A
Deuteranopia (green-blind)
#2B260E
Tritanopia (blue-blind)
#2B2421
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #28270d;
/* rgb */ color: rgb(40, 39, 13);
/* oklch */ color: oklch(26.7% 0.042 106.9);
Tailwind
colors: {
  custom: {
    50: '#63604d',
    500: '#28270d',
    950: '#000000',
  },
}
SCSS
$custom: #28270d;
$custom-light: #63604d;
$custom-dark: #000000;
JSON
{
  "hex": "#28270d",
  "rgb": {
    "r": 40,
    "g": 39,
    "b": 13
  },
  "hsl": {
    "h": 57.778,
    "s": 50.943,
    "l": 10.392
  },
  "oklch": {
    "l": 0.26688,
    "c": 0.04179,
    "h": 106.9
  },
  "luminance": 0.01931
}

Semantic roles & 50–950 ramp

primary
#28270D
secondary
#2F3062
accent
#53DA4D
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050501
muted
#797977

Preview Lab

Preview with #28270D

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

Preview Lab → · Contrast checker → · Palette generator →

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