#804227#804227

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

Color values

HEX#804227
RGBrgb(128, 66, 39)
HSLhsl(18, 53%, 33%)
HSVhsv(18, 70%, 50%)
CMYKcmyk(0%, 48.4%, 69.5%, 49.8%)
CIE-LABlab(35.27, 24.27, 28.02)
CIE-LCHlch(35.27, 37.07, 49.10°)
OKLaboklab(45.11% 0.0686 0.0647)
OKLCHoklch(45.11% 0.094 43.3)
XYZxyz(11.2175, 8.6334, 2.9947)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804227 #276580
analogous
#802739 #804227 #806E27
triadic
#804227 #278042 #422780
tetradic
#804227 #398027 #276580 #6E2780
square
#804227 #398027 #276580 #6E2780
split-complementary
#804227 #27806E #273980
monochromatic
#22120A #512A19 #804227 #AF5A35 #CB7A56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##804227#FFFFFF#000000##FFFFFF
##8042271.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)
#534B24
Deuteranopia (green-blind)
#625826
Tritanopia (blue-blind)
#8C363C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #804227;
/* rgb */ color: rgb(128, 66, 39);
/* oklch */ color: oklch(45.1% 0.094 43.3);
Tailwind
colors: {
  custom: {
    50: '#aa7762',
    500: '#804227',
    950: '#000000',
  },
}
SCSS
$custom: #804227;
$custom-light: #aa7762;
$custom-dark: #000000;
JSON
{
  "hex": "#804227",
  "rgb": {
    "r": 128,
    "g": 66,
    "b": 39
  },
  "hsl": {
    "h": 18.202,
    "s": 53.293,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45106,
    "c": 0.09428,
    "h": 43.3
  },
  "luminance": 0.08632
}

Semantic roles & 50–950 ramp

primary
#804227
secondary
#5394B0
accent
#B1DD4B
background
#FBF7F5
surface
#F6EDEA
border
#D0C8C6
text
#110905
muted
#807B79

Preview Lab

Preview with #804227

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

Preview Lab → · Contrast checker → · Palette generator →

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