#AF7828#AF7828

#AF7828 is a mid, moderate orange. Relative luminance 0.227; OKLCH L 61.5% C 0.115 H 72.1°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AF7828
RGBrgb(175, 120, 40)
HSLhsl(36, 63%, 42%)
HSVhsv(36, 77%, 69%)
CMYKcmyk(0%, 31.4%, 77.1%, 31.4%)
CIE-LABlab(54.76, 14.40, 49.99)
CIE-LCHlch(54.76, 52.02, 73.93°)
OKLaboklab(61.53% 0.0355 0.1097)
OKLCHoklch(61.53% 0.115 72.1)
XYZxyz(24.7805, 22.7023, 5.0840)
Luminance0.2270 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7828 #285FAF
analogous
#AF3528 #AF7828 #A2AF28
triadic
#AF7828 #28AF78 #7828AF
tetradic
#AF7828 #28AF35 #285FAF #AF28A2
square
#AF7828 #28AF35 #285FAF #AF28A2
split-complementary
#AF7828 #28A2AF #3528AF
monochromatic
#4B3411 #7D561D #AF7828 #D49841 #DFB373

Accessibility & contrast

On white

3.79
#AF7828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#AF7828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7828
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7828#FFFFFF#000000##000000
##AF78281.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1C
Deuteranopia (green-blind)
#98882A
Tritanopia (blue-blind)
#BF6A68
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af7828;
/* rgb */ color: rgb(175, 120, 40);
/* oklch */ color: oklch(61.5% 0.115 72.1);
Tailwind
colors: {
  custom: {
    50: '#cc9e68',
    500: '#af7828',
    950: '#000000',
  },
}
SCSS
$custom: #af7828;
$custom-light: #cc9e68;
$custom-dark: #000000;
JSON
{
  "hex": "#af7828",
  "rgb": {
    "r": 175,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 35.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.61532,
    "c": 0.11531,
    "h": 72.1
  },
  "luminance": 0.227
}

Semantic roles & 50–950 ramp

primary
#AF7828
secondary
#6D91C6
accent
#85E642
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AF7828

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

Preview Lab → · Contrast checker → · Palette generator →

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