#28270B#28270B

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

Color values

HEX#28270B
RGBrgb(40, 39, 11)
HSLhsl(58, 57%, 10%)
HSVhsv(58, 73%, 16%)
CMYKcmyk(0%, 2.5%, 72.5%, 84.3%)
CIE-LABlab(15.10, -4.28, 17.43)
CIE-LCHlch(15.10, 17.95, 103.80°)
OKLaboklab(26.66% -0.013 0.0422)
OKLCHoklch(26.66% 0.044 107.1)
XYZxyz(1.6610, 1.9264, 0.6009)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28270B #0B0C28
analogous
#28180B #28270B #1B280B
triadic
#28270B #0B2827 #270B28
tetradic
#28270B #0B2818 #0B0C28 #280B1B
square
#28270B #0B2818 #0B0C28 #280B1B
split-complementary
#28270B #0B1B28 #180B28
monochromatic
#181707 #181707 #28270B #585618 #888525

Accessibility & contrast

On white

15.16
#28270B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28270B
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28270B#FFFFFF#000000##FFFFFF
##28270B1.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28270b;
/* rgb */ color: rgb(40, 39, 11);
/* oklch */ color: oklch(26.7% 0.044 107.1);
Tailwind
colors: {
  custom: {
    50: '#63604c',
    500: '#28270b',
    950: '#000000',
  },
}
SCSS
$custom: #28270b;
$custom-light: #63604c;
$custom-dark: #000000;
JSON
{
  "hex": "#28270b",
  "rgb": {
    "r": 40,
    "g": 39,
    "b": 11
  },
  "hsl": {
    "h": 57.931,
    "s": 56.863,
    "l": 10
  },
  "oklch": {
    "l": 0.26659,
    "c": 0.04416,
    "h": 107.1
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#28270B
secondary
#2B2D64
accent
#4DE048
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050501
muted
#797977

Preview Lab

Preview with #28270B

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

Preview Lab → · Contrast checker → · Palette generator →

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