#804228#804228

#804228 is a mid, moderate orange. Relative luminance 0.086; OKLCH L 45.1% C 0.094 H 42.7°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#804228
RGBrgb(128, 66, 40)
HSLhsl(18, 52%, 33%)
HSVhsv(18, 69%, 50%)
CMYKcmyk(0%, 48.4%, 68.8%, 49.8%)
CIE-LABlab(35.28, 24.34, 27.46)
CIE-LCHlch(35.28, 36.69, 48.45°)
OKLaboklab(45.12% 0.069 0.0636)
OKLCHoklch(45.12% 0.094 42.7)
XYZxyz(11.2343, 8.6401, 3.0832)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804228 #286680
analogous
#80283A #804228 #806E28
triadic
#804228 #288042 #422880
tetradic
#804228 #3A8028 #286680 #6E2880
square
#804228 #3A8028 #286680 #6E2880
split-complementary
#804228 #28806E #283A80
monochromatic
#23120B #512A19 #804228 #AF5A37 #CB7A58

Accessibility & contrast

On white

7.70
#804228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#804228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #804228
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804228#FFFFFF#000000##FFFFFF
##8042281.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B25
Deuteranopia (green-blind)
#625827
Tritanopia (blue-blind)
#8C363C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #804228;
/* rgb */ color: rgb(128, 66, 40);
/* oklch */ color: oklch(45.1% 0.094 42.7);
Tailwind
colors: {
  custom: {
    50: '#aa7763',
    500: '#804228',
    950: '#000000',
  },
}
SCSS
$custom: #804228;
$custom-light: #aa7763;
$custom-dark: #000000;
JSON
{
  "hex": "#804228",
  "rgb": {
    "r": 128,
    "g": 66,
    "b": 40
  },
  "hsl": {
    "h": 17.727,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45121,
    "c": 0.09384,
    "h": 42.7
  },
  "luminance": 0.08639
}

Semantic roles & 50–950 ramp

primary
#804228
secondary
#5495B0
accent
#B1DC4C
background
#FAF7F5
surface
#F5EDEA
border
#CFC8C6
text
#110905
muted
#807B79

Preview Lab

Preview with #804228

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

Preview Lab → · Contrast checker → · Palette generator →

#804228 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva