#AF6828#AF6828

#AF6828 is a mid, moderate orange. Relative luminance 0.192; OKLCH L 58.5% C 0.119 H 58.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AF6828
RGBrgb(175, 104, 40)
HSLhsl(28, 63%, 42%)
HSVhsv(28, 77%, 69%)
CMYKcmyk(0%, 40.6%, 77.1%, 31.4%)
CIE-LABlab(50.89, 23.34, 46.20)
CIE-LCHlch(50.89, 51.76, 63.19°)
OKLaboklab(58.52% 0.0619 0.1016)
OKLCHoklch(58.52% 0.119 58.6)
XYZxyz(23.0145, 19.1702, 4.4953)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6828 #286FAF
analogous
#AF282C #AF6828 #AFAB28
triadic
#AF6828 #28AF68 #6828AF
tetradic
#AF6828 #2CAF28 #286FAF #AB28AF
square
#AF6828 #2CAF28 #286FAF #AB28AF
split-complementary
#AF6828 #28AFAB #282CAF
monochromatic
#4B2D11 #7D4A1D #AF6828 #D48641 #DFA673

Accessibility & contrast

On white

4.34
#AF6828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#AF6828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6828
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6828#FFFFFF#000000##000000
##AF68281.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1F
Deuteranopia (green-blind)
#8E8028
Tritanopia (blue-blind)
#BF585B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af6828;
/* rgb */ color: rgb(175, 104, 40);
/* oklch */ color: oklch(58.5% 0.119 58.6);
Tailwind
colors: {
  custom: {
    50: '#cd9366',
    500: '#af6828',
    950: '#000000',
  },
}
SCSS
$custom: #af6828;
$custom-light: #cd9366;
$custom-dark: #000000;
JSON
{
  "hex": "#af6828",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 40
  },
  "hsl": {
    "h": 28.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.58523,
    "c": 0.11895,
    "h": 58.6
  },
  "luminance": 0.19168
}

Semantic roles & 50–950 ramp

primary
#AF6828
secondary
#6D9CC6
accent
#98E642
background
#FDF9F6
surface
#FAF1EB
border
#D3CBC6
text
#150D06
muted
#837E7A

Preview Lab

Preview with #AF6828

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

Preview Lab → · Contrast checker → · Palette generator →

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