#28280F#28280F

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

Color values

HEX#28280F
RGBrgb(40, 40, 15)
HSLhsl(60, 45%, 11%)
HSVhsv(60, 63%, 16%)
CMYKcmyk(0%, 0%, 62.5%, 84.3%)
CIE-LABlab(15.50, -4.52, 16.03)
CIE-LCHlch(15.50, 16.66, 105.74°)
OKLaboklab(27% -0.0131 0.0385)
OKLCHoklch(27% 0.041 108.8)
XYZxyz(1.7201, 2.0032, 0.7479)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28280F #0F0F28
analogous
#281B0F #28280F #1B280F
triadic
#28280F #0F2828 #280F28
tetradic
#28280F #0F281B #0F0F28 #280F1B
square
#28280F #0F281B #0F0F28 #280F1B
split-complementary
#28280F #0F1B28 #1B0F28
monochromatic
#161608 #161608 #28280F #555520 #818130

Accessibility & contrast

On white

14.99
#28280F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28280F
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28280F#FFFFFF#000000##FFFFFF
##28280F1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28280f;
/* rgb */ color: rgb(40, 40, 15);
/* oklch */ color: oklch(27.0% 0.041 108.8);
Tailwind
colors: {
  custom: {
    50: '#62614e',
    500: '#28280f',
    950: '#000000',
  },
}
SCSS
$custom: #28280f;
$custom-light: #62614e;
$custom-dark: #000000;
JSON
{
  "hex": "#28280f",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 15
  },
  "hsl": {
    "h": 60,
    "s": 45.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27002,
    "c": 0.04069,
    "h": 108.8
  },
  "luminance": 0.02003
}

Semantic roles & 50–950 ramp

primary
#28280F
secondary
#323261
accent
#53D553
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050501
muted
#797977

Preview Lab

Preview with #28280F

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

Preview Lab → · Contrast checker → · Palette generator →

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